agenda-libre-ruby/app/views/maps/show.html.haml

15 lines
372 B
Plaintext
Raw Permalink Normal View History

%h2
%em.fa.fa-map
= t 'layouts.application.map'
%em.fa{ class: "fa-#{@kind.icon}" }
= Kind.human_attribute_name("name_#{@kind.name}")
- if params[:tag]
2016-10-18 15:37:03 +02:00
%em.fa.fa-tag
%em= params[:tag]
2016-10-18 15:37:03 +02:00
%ul.list#map
%li
= link_to map_path @kind.name, format: :json do
%em.fa{ class: "fa-#{@kind.icon}" }
= Kind.human_attribute_name("name_#{@kind.name}")