groups_list.haml 356 Bytes
Newer Older
Arnaud Fabre's avatar
Arnaud Fabre committed
1
2
-# List representatives' groups
  
3
- extends 'base.html'
Arnaud Fabre's avatar
Arnaud Fabre committed
4
- load by_group_url
5
6

- block content
Arnaud Fabre's avatar
Arnaud Fabre committed
7
  %table.table
8
    - for group in groups
Arnaud Fabre's avatar
Arnaud Fabre committed
9
10
11
12
13
14
15
      %tr
        %td
          %a{'href': '{{ group | by_group_url }}'}w
            - if group.abbreviation
              ={group.abbreviation}
        %td
          %a{'href': '{{ group | by_group_url }}'}= group.name