Explanation on how to customize the hint class.
This commit is contained in:
parent
97857d21f9
commit
6b8583e5d5
|
@ -115,7 +115,7 @@ of any of them:
|
|||
|
||||
```erb
|
||||
<%= simple_form_for @user do |f| %>
|
||||
<%= f.input :username, label_html: { class: 'my_class' } %>
|
||||
<%= f.input :username, label_html: { class: 'my_class' }, hint_html: {class: 'hint_class'} %>
|
||||
<%= f.input :password, hint: false, error_html: { id: 'password_error'} %>
|
||||
<%= f.input :password_confirmation, label: false %>
|
||||
<%= f.button :submit %>
|
||||
|
|
Loading…
Reference in New Issue