Skip to content

Commit

Permalink
Merge pull request #526 from posativ/revert-356-feature/postbox-input…
Browse files Browse the repository at this point in the history
…-labels-2

Revert "Use <label>s rather than placeholders"
  • Loading branch information
jelmer authored Jan 21, 2019
2 parents 1d5d356 + 8aeff4a commit 0748eed
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions isso/js/app/text/postbox.jade
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
Expand Down

0 comments on commit 0748eed

Please sign in to comment.