agenda-libre-ruby/app/views/regions/_selector_region.haml

7 lines
265 B
Plaintext
Raw Normal View History

- 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