2018-04-19 16:15:44 +02:00
|
|
|
.container
|
|
|
|
%h1 Liste des Services
|
|
|
|
|
2018-04-19 18:12:48 +02:00
|
|
|
%table.table.table-service.hoverable
|
2018-04-19 16:15:44 +02:00
|
|
|
%thead
|
|
|
|
%tr
|
|
|
|
%th
|
|
|
|
nom
|
2018-04-19 18:12:48 +02:00
|
|
|
%th.change
|
2018-04-19 10:44:14 +02:00
|
|
|
= link_to('Nouveau service', new_service_path, class: 'button')
|
2018-04-19 16:15:44 +02:00
|
|
|
|
|
|
|
%tbody
|
|
|
|
- @services.each do |service|
|
|
|
|
%tr
|
|
|
|
%td
|
|
|
|
= service.nom
|
2018-04-19 18:12:48 +02:00
|
|
|
%td.change
|
|
|
|
= link_to('modifier', edit_service_path(service))
|