2021-11-25 16:26:55 +01:00
|
|
|
= render partial: 'administrateurs/breadcrumbs',
|
2022-08-17 13:53:07 +02:00
|
|
|
locals: { steps: [['Démarches', admin_procedures_path],
|
2022-09-09 13:08:24 +02:00
|
|
|
[@procedure.libelle.truncate_words(10), admin_procedure_path(@procedure)],
|
2022-08-17 13:53:07 +02:00
|
|
|
['Administrateurs']], preview: false }
|
2019-04-12 10:43:51 +02:00
|
|
|
|
2023-11-28 15:02:42 +01:00
|
|
|
.fr-container
|
2024-05-22 16:16:45 +02:00
|
|
|
%h1.fr-h2 Administrateurs
|
2022-07-21 16:52:31 +02:00
|
|
|
|
2024-05-22 16:16:45 +02:00
|
|
|
.fr-mb-4w
|
|
|
|
= render 'add_admin_form', procedure: @procedure, disabled_as_super_admin: administrateur_as_manager?
|
|
|
|
|
|
|
|
.fr-table.fr-table--bordered.fr-table--layout-fixed
|
2023-11-28 15:02:42 +01:00
|
|
|
%table
|
2024-05-22 16:16:45 +02:00
|
|
|
%caption Liste des administrateurs
|
2023-11-28 15:02:42 +01:00
|
|
|
%thead
|
|
|
|
%th= 'Adresse email'
|
|
|
|
%th= 'Enregistré le'
|
|
|
|
%th= 'État'
|
|
|
|
%th= 'Action'
|
|
|
|
%tbody#administrateurs
|
|
|
|
= render(Procedure::ProcedureAdministrateurs::AdministrateurComponent.with_collection(@procedure.administrateurs.order('users.email'), procedure: @procedure))
|
2023-07-31 23:42:01 +02:00
|
|
|
|
2024-05-22 16:16:45 +02:00
|
|
|
.padded-fixed-footer
|
|
|
|
.fixed-footer.fr-pb-2w
|
|
|
|
.fr-container
|
|
|
|
= link_to admin_procedure_path(id: @procedure), class: 'fr-link fr-icon-arrow-left-line fr-link--icon-left' do
|
|
|
|
Revenir à l'écran de gestion
|