diff --git a/app/views/regions/index.html.haml b/app/views/regions/index.html.haml index 0500bd72b16af8bb40c316aa219694ba1ad548d8..d1ebf92a4e3394eaf0a78259d4a6757df413637d 100644 --- a/app/views/regions/index.html.haml +++ b/app/views/regions/index.html.haml @@ -2,25 +2,36 @@ %em.fa.fa-rss = title t '.title' -%p=t '.quick' +%p= t '.quick' %table.list %thead %tr - %th= link_to t(:all, scope: 'activerecord.attributes.region.name_values'), root_path + %th= link_to t(:all, + scope: 'activerecord.attributes.region.name_values'), root_path %th= link_to 'RSS', events_path(format: :rss, region: :all) - %th= link_to :webcal, events_path(protocol: :webcal, format: :ics, region: :all, only_path: false) - %th= link_to :iCal, events_path(format: :ics, region: :all, only_path: false) - %th= link_to :GeoJSON, maps_path(format: :json, region: :all, only_path: false) + %th= link_to :webcal, + events_path(protocol: :webcal, format: :ics, region: :all, + only_path: false) + %th= link_to :iCal, + events_path(format: :ics, region: :all, only_path: false) + %th= link_to :GeoJSON, + maps_path(format: :json, region: :all, only_path: false) %tbody - @regions.find_each do |region| %tr %td= link_to region.name, events_path(region: region.id) %td= link_to 'RSS', events_path(format: :rss, region: region.id) - %td= link_to :webcal, events_path(protocol: :webcal, format: :ics, region: region.id, only_path: false) - %td= link_to :iCal, events_path(format: :ics, region: region.id, only_path: false) - %td= link_to :GeoJSON, maps_path(format: :json, region: region.id, only_path: false) + %td= link_to :webcal, + events_path(protocol: :webcal, format: :ics, region: region.id, + only_path: false) + %td= link_to :iCal, + events_path(format: :ics, region: region.id, only_path: false) + %td= link_to :GeoJSON, + maps_path(format: :json, region: region.id, only_path: false) :markdown - #{t '.help', tag: events_path(format: :rss, tag: 'toulibre', only_path: false), daylimit: events_path(format: :ics, daylimit: '42', only_path: false)} + #{t '.help', + tag: events_path(format: :rss, tag: 'toulibre', only_path: false), + daylimit: events_path(format: :ics, daylimit: '42', only_path: false)}