Merge pull request #526 from posativ/revert-356-feature/postbox-input-labels-2
Revert "Use <label>s rather than placeholders"
This commit is contained in:
commit
0748eedd30
@ -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'))
|
||||||
|
Loading…
Reference in New Issue
Block a user