mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix example in ActionView::Helpers::FormHelper
This commit is contained in:
parent
6054e367f1
commit
09a22db842
1 changed files with 1 additions and 1 deletions
|
@ -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 %>
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue