The map title displays the eventual filtering tag in its title

This commit is contained in:
echarp 2016-03-01 00:59:17 +01:00
parent fbeba30cd1
commit 6d724bea73
2 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,10 @@
%h2
%em.fa.fa-map-marker
=title t '.title'
= title t '.title'
- if params[:tag]
«
%em= params[:tag]
»
#map.events(data-url="#{maps_path format: :json}")

View File

@ -1,5 +1,5 @@
%h2
=t '.title'
= t '.title'
«
%em= params[:id]
»