diff options
author | Thibaut Courouble <thibaut@me.com> | 2012-04-20 11:28:24 +0300 |
---|---|---|
committer | Thibaut Courouble <thibaut@me.com> | 2012-04-20 11:28:24 +0300 |
commit | 09a22db8427aa64d41dac7e72552a2ae2eebad91 (patch) | |
tree | 2f0bc20e8d34d251bd83a089dfe9ed01ff17b710 /actionpack/lib/action_view | |
parent | 6054e367f1baf7b8aa051de6d193b867383e2822 (diff) | |
download | rails-09a22db8427aa64d41dac7e72552a2ae2eebad91.tar.gz rails-09a22db8427aa64d41dac7e72552a2ae2eebad91.tar.bz2 rails-09a22db8427aa64d41dac7e72552a2ae2eebad91.zip |
Fix example in ActionView::Helpers::FormHelper
Diffstat (limited to 'actionpack/lib/action_view')
-rw-r--r-- | actionpack/lib/action_view/helpers/form_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/form_helper.rb b/actionpack/lib/action_view/helpers/form_helper.rb index 3f5829d86a..ad097f2eb7 100644 --- a/actionpack/lib/action_view/helpers/form_helper.rb +++ b/actionpack/lib/action_view/helpers/form_helper.rb @@ -184,7 +184,7 @@ module ActionView # First name: <%= f.text_field :first_name %> # Last name : <%= f.text_field :last_name %> # Biography : <%= text_area :person, :biography %> - # Admin? : <%= check_box_tag "person[admin]", @person.company.admin? %> + # Admin? : <%= check_box_tag "person[admin]", "1", @person.company.admin? %> # <%= f.submit %> # <% end %> # |