Revert "Use <label>s rather than placeholders"

This commit is contained in:
Jelmer Vernooij 2019-01-21 22:07:29 +00:00 committed by GitHub
parent 1d5d356237
commit 8aeff4acb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,19 +9,13 @@ div(class='isso-postbox')
div(class='text')
section(class='auth-section')
p(class='input-wrapper')
label(for='isso-postbox__author')
= i18n('postbox-author')
input(type='text' id='isso-postbox__author' name='author'
input(type='text' name='author' placeholder=i18n('postbox-author')
value=author !== null ? '#{author}' : '')
p(class='input-wrapper')
label(for='isso-postbox__email')
= i18n('postbox-email')
input(type='email' id='isso-postbox__email' name='email'
input(type='email' name='email' placeholder=i18n('postbox-email')
value=email != null ? '#{email}' : '')
p(class='input-wrapper')
label(for='isso-postbox__website')
= i18n('postbox-website')
input(type='text' id='isso-postbox__website' name='website'
input(type='text' name='website' placeholder=i18n('postbox-website')
value=website != null ? '#{website}' : '')
p(class='post-action')
input(type='submit' value=i18n('postbox-submit'))