dossier_index.haml 388 Bytes
Newer Older
1 2 3 4 5 6 7
- extends "base.html"

- block content
  %h1 Dossiers
  -# %p
    Number of dossier: {{ object_count }}

Arnaud Fabre's avatar
Arnaud Fabre committed
8 9
  %table.table
    - for dossier in object_list
10 11
      %tr
        %td
Arnaud Fabre's avatar
Arnaud Fabre committed
12
          %a{'href': "{% url 'votes:dossier-detail' pk=dossier.id %}"}
Arnaud Fabre's avatar
Arnaud Fabre committed
13 14 15
            {{ dossier.name }}
        %td= dossier.reference
        %td= dossier.proposals.count
16 17

  - include "core/blocks/pagination.html"