Permalink
Browse files

Merge pull request #959 from jurglic/feature/update-readme

Add check_box/boolean attribute example to README
  • Loading branch information...
2 parents d1980fc + b4c491d commit ba0dcf4a07eb7b227ffc26363a489c4f63a4603b @nashby nashby committed Dec 31, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 README.md
View
@@ -217,6 +217,7 @@ the wrapper as well:
<%= f.input :date_of_birth, as: :date, start_year: Date.today.year - 90,
end_year: Date.today.year - 12, discard_day: true,
order: [:month, :year] %>
+ <%= f.input :accepts, as: :boolean, checked_value: true, unchecked_value: false %>
<%= f.button :submit %>
<% end %>
```

0 comments on commit ba0dcf4

Please sign in to comment.