fix guestbook undefined bug

This commit is contained in:
b1ek 2023-02-27 23:29:07 +10:00
parent aa1f6e072b
commit 7b3c7f5678
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 3 additions and 3 deletions

View File

@ -20,16 +20,16 @@ block content
tr
td Your name:
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') *
tr
td Your email:
td
input(type='email' name='email' value='' + email)
input(type='email' name='email' value='' + (email ? email : ''))
tr
td Hide your email?
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') *
p(style='margin:6px 0')
| Your message (512 chars max):