fix guestbook undefined bug
This commit is contained in:
parent
aa1f6e072b
commit
7b3c7f5678
|
@ -20,16 +20,16 @@ block content
|
||||||
tr
|
tr
|
||||||
td Your name:
|
td Your name:
|
||||||
td
|
td
|
||||||
input(type='text' name='name' value='' + name style='width:50%')
|
input(type='text' name='name' value='' + (name ? name : '') style='width:50%')
|
||||||
span(style='font-size:9pt;color:red;user-select:none' title='required') *
|
span(style='font-size:9pt;color:red;user-select:none' title='required') *
|
||||||
tr
|
tr
|
||||||
td Your email:
|
td Your email:
|
||||||
td
|
td
|
||||||
input(type='email' name='email' value='' + email)
|
input(type='email' name='email' value='' + (email ? email : ''))
|
||||||
tr
|
tr
|
||||||
td Hide your email?
|
td Hide your email?
|
||||||
td
|
td
|
||||||
input(type='checkbox' name='hidemail' checked=hidemail)
|
input(type='checkbox' name='hidemail' checked=(hidemail ? true : 'off'))
|
||||||
// span(style='font-size:9pt;color:red;user-select:none' title='required') *
|
// span(style='font-size:9pt;color:red;user-select:none' title='required') *
|
||||||
p(style='margin:6px 0')
|
p(style='margin:6px 0')
|
||||||
| Your message (512 chars max):
|
| Your message (512 chars max):
|
||||||
|
|
Loading…
Reference in New Issue