Trouble with hidden radio buttons
This commit is contained in:
parent
1fd388ad4f
commit
67d62c40fd
@ -1,4 +1,4 @@
|
||||
-# Choose a region to filter events with
|
||||
%nav.region_filter
|
||||
%ul= render partial: '/regions/filter_region',
|
||||
collection: Region.where(region: nil)
|
||||
collection: Region.where(region: nil).includes(:regions)
|
||||
|
@ -13,4 +13,4 @@
|
||||
- if selector_region.regions.present?
|
||||
.radios
|
||||
= f.collection_radio_buttons :region_id,
|
||||
Region.where(region: selector_region), :id, :name
|
||||
Region.where(region: selector_region), :id, :name, include_hidden: false
|
||||
|
Loading…
Reference in New Issue
Block a user