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

23 lines
488 B
Plaintext
Raw Normal View History

2020-02-08 15:44:11 +01:00
- unless params[:iframe]
= render '/maps/orgas'
2020-01-16 20:19:52 +01:00
2015-02-15 17:10:17 +01:00
%h2
%em.fa.fa-users
= title t '.title'
2015-02-15 17:10:17 +01:00
= render 'types'
2015-02-15 17:10:17 +01:00
%table.list.autopagerize_page_element
%thead
%th.name(colspan='2')= sort_link @search, :name
%th.city= sort_link @search, :city
2020-01-16 21:08:48 +01:00
%th.region(colspan='2')= sort_link @search,
2016-01-07 23:10:20 +01:00
:region_name, Orga.human_attribute_name(:region)
2020-01-16 20:19:52 +01:00
%th.updated_at= sort_link @search, :updated_at
2020-01-16 20:19:52 +01:00
%tbody= render @orgas
2015-02-15 17:10:17 +01:00
2016-01-10 14:41:20 +01:00
%tfoot
%tr
%th(colspan='9')= paginate @orgas