demarches-normaliennes/app/views/admin/procedures/index.html.haml
2015-11-27 16:23:02 +01:00

22 lines
No EOL
604 B
Text

= link_to("Nouvelle procédure", "/admin/procedures/new", class: 'btn btn-success', style: 'float:right; margin-top:2%;')
%h1 Gestion des procédures
%br
= render partial: 'onglets'
%table.table
%thead
%th#id ID
%th#libelle Libellé
%th#organisation Organisation
%th#direction Direction
- @procedures.each do |procedure|
%tr
%td= procedure.id
%td
= link_to(procedure.libelle, "/admin/procedures/#{procedure.id}")
%td= procedure.organisation
%td= procedure.direction
.pagination
= will_paginate @procedures, renderer: BootstrapPagination::Rails