demarches-normaliennes/app/views/new_administrateur/services/index.html.haml
2018-05-18 16:21:26 +02:00

18 lines
473 B
Text

.container
%h1 Liste des Services
%table.table.table-service.hoverable
%thead
%tr
%th
nom
%th.change
= link_to('Nouveau service', new_service_path(procedure_id: params[:procedure_id]), class: 'button')
%tbody
- @services.each do |service|
%tr
%td
= service.nom
%td.change
= link_to('modifier', edit_service_path(service, procedure_id: params[:procedure_id]))