mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #11537 from Karunakar/small_fix
syntax fix f.select doc
This commit is contained in:
commit
49c8b671ec
1 changed files with 1 additions and 1 deletions
|
@ -756,7 +756,7 @@ module ActionView
|
|||
# Wraps ActionView::Helpers::FormOptionsHelper#select for form builders:
|
||||
#
|
||||
# <%= form_for @post do |f| %>
|
||||
# <%= f.select :person_id, Person.all.collect {|p| [ p.name, p.id ] }, { include_blank: true }) %>
|
||||
# <%= f.select :person_id, Person.all.collect { |p| [ p.name, p.id ] }, include_blank: true %>
|
||||
# <%= f.submit %>
|
||||
# <% end %>
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue