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 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

View File

@ -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