demarches-normaliennes/app/views/users/dossiers/index.html.haml

17 lines
427 B
Text
Raw Normal View History

%h1#users_dossiers_index Vos dossiers
%br
%br
%table.table
%thead
%th Nom du Projet
2015-09-25 11:42:20 +02:00
%th Etat
%th Mise à jour
- @dossiers.each do |dossier|
%tr
%td
= link_to(dossier.nom_projet, users_dossier_recapitulatif_path(dossier))
2015-09-25 11:42:20 +02:00
%td{id: "dossier_#{dossier.id}_state"}= dossier.state_fr
2015-11-26 12:29:34 +01:00
%td= dossier.last_update
.pagination
= will_paginate @dossiers, renderer: BootstrapPagination::Rails