2019-04-12 10:43:51 +02:00
|
|
|
= render partial: 'new_administrateur/breadcrumbs',
|
|
|
|
locals: { steps: [link_to('Démarches', admin_procedures_path),
|
|
|
|
link_to(@procedure.libelle, admin_procedure_path(@procedure)),
|
|
|
|
'Administrateurs'], preview: false }
|
|
|
|
|
|
|
|
.container
|
|
|
|
%h1 Administrateurs de « #{@procedure.libelle} »
|
|
|
|
%table.table
|
|
|
|
%thead
|
|
|
|
%th= 'Adresse email'
|
|
|
|
%th= 'Enregistré le'
|
|
|
|
%th= 'État'
|
|
|
|
%tbody{ id: "procedure-#{@procedure.id}-administrateurs" }
|
2020-02-03 15:10:56 +01:00
|
|
|
= render partial: 'administrateur', collection: @procedure.administrateurs.order('users.email')
|
2019-04-12 10:43:51 +02:00
|
|
|
%tfoot
|
|
|
|
%tr
|
|
|
|
%th{ colspan: 4 }
|
2019-05-06 16:24:48 +02:00
|
|
|
= render 'add_admin_form', procedure: @procedure
|