demarches-normaliennes/app/views/administrateurs/procedure_administrateurs/_administrateur.html.haml

13 lines
548 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

%tr{ id: dom_id(administrateur) }
%td= administrateur.email
%td= try_format_datetime(administrateur.created_at)
%td= administrateur.registration_state
%td
- if administrateur == current_administrateur
Cest vous !
- else
= button_to 'Retirer',
admin_procedure_administrateur_path(procedure, administrateur),
method: :delete,
class: 'button',
form: { data: { turbo: true, turbo_confirm: "Retirer « #{administrateur.email} » des administrateurs de « #{procedure.libelle} » ?" } }