agenda-libre-ruby/app/views/regions/_selector_region.haml
2017-05-27 17:46:01 +02:00

7 lines
265 B
Plaintext

- if selector_region.regions.present? || selector_region.url.nil?
= flag_icon selector_region.code.try :downcase
= selector_region
%em.fa.fa-chevron-right
.radios= f.collection_radio_buttons :region_id,
Region.where(region: selector_region), :id, :name