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

19 lines
420 B
Plaintext
Raw Normal View History

%h2
%em.fa.fa-map-marker
= title t '.title'
- if params[:tag]
«
%em= params[:tag]
»
%ul#map.list
%li
= link_to maps_path format: :json do
%em.fa.fa-calendar
= Event.model_name.human.pluralize
- Kind.all.each do |kind|
%li
= link_to map_path kind.name, format: :json do
%em.fa{ class: "fa-#{kind.icon}" }
= Kind.human_attribute_name("name_#{kind.name}")