Petite correction sur affichage du sélecteur de région

This commit is contained in:
echarp 2014-09-28 00:46:35 +02:00
parent 4ce3689866
commit 48e7fbc6c6
2 changed files with 3 additions and 0 deletions

View File

@ -8,6 +8,7 @@
color: gray
ul
margin: 0
z-index: 10
display: none
position: absolute
margin-top: -7em

View File

@ -2,10 +2,12 @@
-# Display the currently selected region
%h3
- if params[:region] && params[:region] != 'all'
%em.locality.fa.fa-shield
= Region.find params[:region]
%em.fa.fa-chevron-down
- else
%span.placeholder
%em.locality.fa.fa-globe
=t '.all_regions'
%em.fa.fa-chevron-down