Nicer looking "other country" flag
This commit is contained in:
parent
fc0abb0dc7
commit
e6ae709ce4
@ -2,7 +2,7 @@
|
||||
- if filter_region.url.present?
|
||||
= link_to filter_region.url do
|
||||
- if filter_region.code.present?
|
||||
= flag_icon filter_region.code.try :downcase
|
||||
= flag_icon filter_region.code.downcase
|
||||
= filter_region.name
|
||||
%small
|
||||
%em.fa.fa-external-link
|
||||
@ -12,9 +12,9 @@
|
||||
year: params[:year],
|
||||
tag: params[:tag] do
|
||||
- if filter_region.code.present?
|
||||
= flag_icon filter_region.code.try :downcase
|
||||
= flag_icon filter_region.code.downcase
|
||||
- else
|
||||
%em.fa.fa-shield
|
||||
%em.fa.fa-map
|
||||
= filter_region.name
|
||||
- if filter_region.regions.present?
|
||||
%small
|
||||
|
@ -2,7 +2,10 @@
|
||||
%span.region{ title: selector_region }
|
||||
= f.radio_button :region_id, selector_region.id
|
||||
= f.label "region_id_#{selector_region.id}" do
|
||||
= flag_icon selector_region.code.try :downcase
|
||||
- if selector_region.code.present?
|
||||
= flag_icon selector_region.code.downcase
|
||||
- else
|
||||
%em.fa.fa-map
|
||||
= selector_region
|
||||
- if selector_region.regions.present?
|
||||
%small
|
||||
|
Loading…
Reference in New Issue
Block a user