Skip to content

Commit 0748eed

Browse files
authored
Merge pull request isso-comments#526 from posativ/revert-356-feature/postbox-input-labels-2
Revert "Use <label>s rather than placeholders"
2 parents 1d5d356 + 8aeff4a commit 0748eed

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

isso/js/app/text/postbox.jade

+3-9
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,13 @@ div(class='isso-postbox')
99
div(class='text')
1010
section(class='auth-section')
1111
p(class='input-wrapper')
12-
label(for='isso-postbox__author')
13-
= i18n('postbox-author')
14-
input(type='text' id='isso-postbox__author' name='author'
12+
input(type='text' name='author' placeholder=i18n('postbox-author')
1513
value=author !== null ? '#{author}' : '')
1614
p(class='input-wrapper')
17-
label(for='isso-postbox__email')
18-
= i18n('postbox-email')
19-
input(type='email' id='isso-postbox__email' name='email'
15+
input(type='email' name='email' placeholder=i18n('postbox-email')
2016
value=email != null ? '#{email}' : '')
2117
p(class='input-wrapper')
22-
label(for='isso-postbox__website')
23-
= i18n('postbox-website')
24-
input(type='text' id='isso-postbox__website' name='website'
18+
input(type='text' name='website' placeholder=i18n('postbox-website')
2519
value=website != null ? '#{website}' : '')
2620
p(class='post-action')
2721
input(type='submit' value=i18n('postbox-submit'))

0 commit comments

Comments
 (0)