Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix example in ActionView::Helpers::FormHelper

  • Loading branch information...
commit 09a22db8427aa64d41dac7e72552a2ae2eebad91 1 parent 6054e36
@Thibaut Thibaut authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_view/helpers/form_helper.rb
View
2  actionpack/lib/action_view/helpers/form_helper.rb
@@ -184,7 +184,7 @@ def convert_to_model(object)
# 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 %>
#
Please sign in to comment.
Something went wrong with that request. Please try again.