Added autofocus in a number of forms, plus correction of a few spelling mistakes
folding code into existing hash in commercials/index
This commit is contained in:
parent
ada178d62c
commit
e5948698db
17 changed files with 17 additions and 17 deletions
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
= u.label 'Add user by email: '
|
||||
.input-group
|
||||
= u.input :email, label: false, placeholder: "User's email"
|
||||
= u.input :email, input_html: { autofocus: true }, label: false, placeholder: "User's email"
|
||||
.input-group-btn
|
||||
= u.submit 'Add', id: 'user-add', class: 'btn btn-primary'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue