Quick correction on the region selector, the checked status was not visible :(

This commit is contained in:
echarp 2019-05-02 12:50:07 +02:00
parent 8687fe19c7
commit 78ae8e6159

View File

@ -15,4 +15,5 @@
.radios .radios
= f.collection_radio_buttons :region_id, = f.collection_radio_buttons :region_id,
Region.where(region: selector_region), :id, :name, include_hidden: false do |b| Region.where(region: selector_region), :id, :name, include_hidden: false do |b|
= b.label { b.radio_button + t(b.text, scope: :countries, default: b.text) } = b.radio_button
= b.label { t(b.text, scope: :countries, default: b.text) }