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