Skip to content

Commit

Permalink
Merge pull request #959 from jurglic/feature/update-readme
Browse files Browse the repository at this point in the history
Add check_box/boolean attribute example to README
  • Loading branch information
nashby committed Dec 31, 2013
2 parents d1980fc + b4c491d commit ba0dcf4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 %>
```
Expand Down

0 comments on commit ba0dcf4

Please sign in to comment.