Petite correction sur affichage du sélecteur de région
This commit is contained in:
parent
4ce3689866
commit
48e7fbc6c6
@ -8,6 +8,7 @@
|
|||||||
color: gray
|
color: gray
|
||||||
ul
|
ul
|
||||||
margin: 0
|
margin: 0
|
||||||
|
z-index: 10
|
||||||
display: none
|
display: none
|
||||||
position: absolute
|
position: absolute
|
||||||
margin-top: -7em
|
margin-top: -7em
|
||||||
|
@ -2,10 +2,12 @@
|
|||||||
-# Display the currently selected region
|
-# Display the currently selected region
|
||||||
%h3
|
%h3
|
||||||
- if params[:region] && params[:region] != 'all'
|
- if params[:region] && params[:region] != 'all'
|
||||||
|
%em.locality.fa.fa-shield
|
||||||
= Region.find params[:region]
|
= Region.find params[:region]
|
||||||
%em.fa.fa-chevron-down
|
%em.fa.fa-chevron-down
|
||||||
- else
|
- else
|
||||||
%span.placeholder
|
%span.placeholder
|
||||||
|
%em.locality.fa.fa-globe
|
||||||
=t '.all_regions'
|
=t '.all_regions'
|
||||||
%em.fa.fa-chevron-down
|
%em.fa.fa-chevron-down
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user