2015-11-20 17:51:25 +01:00
|
|
|
= link_to("Nouvelle procédure", "/admin/procedures/new", class: 'btn btn-success', style: 'float:right; margin-top:2%;')
|
|
|
|
%h1 Gestion des procédures
|
2015-10-26 15:54:20 +01:00
|
|
|
%br
|
2015-11-27 16:23:02 +01:00
|
|
|
|
|
|
|
= render partial: 'onglets'
|
|
|
|
|
2015-10-26 15:54:20 +01:00
|
|
|
%table.table
|
2015-11-04 17:27:01 +01:00
|
|
|
%thead
|
|
|
|
%th#id ID
|
|
|
|
%th#libelle Libellé
|
|
|
|
%th#organisation Organisation
|
|
|
|
%th#direction Direction
|
2015-10-26 15:54:20 +01:00
|
|
|
- @procedures.each do |procedure|
|
|
|
|
%tr
|
|
|
|
%td= procedure.id
|
|
|
|
%td
|
|
|
|
= link_to(procedure.libelle, "/admin/procedures/#{procedure.id}")
|
|
|
|
%td= procedure.organisation
|
2015-11-26 16:00:12 +01:00
|
|
|
%td= procedure.direction
|
|
|
|
|
|
|
|
.pagination
|
|
|
|
= will_paginate @procedures, renderer: BootstrapPagination::Rails
|