2021-11-25 16:26:55 +01:00
|
|
|
= render partial: 'administrateurs/breadcrumbs',
|
2019-04-12 10:43:51 +02:00
|
|
|
locals: { steps: [link_to('Démarches', admin_procedures_path),
|
|
|
|
link_to(@procedure.libelle, admin_procedure_path(@procedure)),
|
|
|
|
'Administrateurs'], preview: false }
|
|
|
|
|
|
|
|
.container
|
2022-07-21 16:52:31 +02:00
|
|
|
%h1 Gérer les administrateurs de « #{@procedure.libelle} »
|
|
|
|
|
2019-04-12 10:43:51 +02:00
|
|
|
%table.table
|
|
|
|
%thead
|
|
|
|
%th= 'Adresse email'
|
|
|
|
%th= 'Enregistré le'
|
|
|
|
%th= 'État'
|
2022-04-19 12:28:29 +02:00
|
|
|
%tbody#administrateurs
|
|
|
|
= render partial: 'administrateur', collection: @procedure.administrateurs.order('users.email'), locals: { procedure: @procedure }
|
2019-04-12 10:43:51 +02:00
|
|
|
%tfoot
|
|
|
|
%tr
|
|
|
|
%th{ colspan: 4 }
|
2022-07-28 15:12:24 +02:00
|
|
|
= render 'add_admin_form', procedure: @procedure, disabled_as_super_admin: administrateur_as_manager?
|