Update the README info on using inline_label.

This commit is contained in:
Alistair Holt 2014-05-20 16:05:40 +01:00
parent 9196efd256
commit 3b06434155
1 changed files with 1 additions and 1 deletions

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, inline_label: 'Yes, remember me' %>
<%= f.input :remember_me, label: false, inline_label: 'Yes, remember me' %>
<%= f.button :submit %>
<% end %>
```