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') div(class='text')
section(class='auth-section') section(class='auth-section')
p(class='input-wrapper') p(class='input-wrapper')
label(for='isso-postbox__author') input(type='text' name='author' placeholder=i18n('postbox-author')
= i18n('postbox-author')
input(type='text' id='isso-postbox__author' name='author'
value=author !== null ? '#{author}' : '') value=author !== null ? '#{author}' : '')
p(class='input-wrapper') p(class='input-wrapper')
label(for='isso-postbox__email') input(type='email' name='email' placeholder=i18n('postbox-email')
= i18n('postbox-email')
input(type='email' id='isso-postbox__email' name='email'
value=email != null ? '#{email}' : '') value=email != null ? '#{email}' : '')
p(class='input-wrapper') p(class='input-wrapper')
label(for='isso-postbox__website') input(type='text' name='website' placeholder=i18n('postbox-website')
= i18n('postbox-website')
input(type='text' id='isso-postbox__website' name='website'
value=website != null ? '#{website}' : '') value=website != null ? '#{website}' : '')
p(class='post-action') p(class='post-action')
input(type='submit' value=i18n('postbox-submit')) input(type='submit' value=i18n('postbox-submit'))