mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix documentation for grouped_collection_select [ci skip]
This commit is contained in:
parent
995b4cfcaa
commit
2137f8842b
1 changed files with 1 additions and 1 deletions
|
@ -783,7 +783,7 @@ module ActionView
|
|||
# Wraps ActionView::Helpers::FormOptionsHelper#grouped_collection_select for form builders:
|
||||
#
|
||||
# <%= form_for @city do |f| %>
|
||||
# <%= f.grouped_collection_select :country_id, :country_id, @continents, :countries, :name, :id, :name %>
|
||||
# <%= f.grouped_collection_select :country_id, @continents, :countries, :name, :id, :name %>
|
||||
# <%= f.submit %>
|
||||
# <% end %>
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue