%h2 %em.fa.fa-tag = title params[:id] \- %em.fa.fa-forward = t '.count', count: @events_future.count - unless params[:iframe] = render '/maps/tag' = render 'aside' - @events_future.order('start_time asc').each do |event| %article.event{ class: event.tag_list } %h3 = link_to event do %em.city= event.city = event.title %p.full_address - if event.place_name.present? %span= event.place_name - if event.address.present? %span= event.address %p= display_date event .description = sanitize event.description, tags: %w[p h1 h2 h3 h4 br table tr th td ul ol li a strong b em i img sub sup span], attributes: %w[href src width height style title] - if @events_past.any? %h2 %em.fa.fa-backward = t '.past' \- = t '.count', count: @events_past.count %ul.fa-ul - @events_past.order('start_time desc').each do |event| %li.event{ class: event.tag_list } = link_to event do - if event.locality? %em.locality.fa-li.fa.fa-globe %em.city{ title: event.address }= event.city = event.title .date= display_date event