1
0
Fork 0
mirror of https://github.com/heartcombo/simple_form.git synced 2022-11-09 12:19:26 -05:00

inline_label already disable label [ci skip]

This commit is contained in:
Rafael Mendonça França 2014-06-17 18:02:41 -03:00
parent 6db5143488
commit dd95122aee

View file

@ -99,7 +99,7 @@ even a placeholder. For boolean inputs, you can add an inline label as well:
<%= f.input :username, label: 'Your username please' %>
<%= f.input :password, hint: 'No special characters.' %>
<%= f.input :email, placeholder: 'user@domain.com' %>
<%= f.input :remember_me, label: false, inline_label: 'Yes, remember me' %>
<%= f.input :remember_me, inline_label: 'Yes, remember me' %>
<%= f.button :submit %>
<% end %>
```