demarches-normaliennes/app/views/new_administrateur/procedure_administrateurs/_administrateur.html.haml
Nicolas Bouilleaud 3ff0c83485 Add multi-admin UI
refs #1626
2019-05-06 16:19:08 +02:00

13 lines
526 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: "procedure-#{@procedure.id}-administrateur-#{administrateur.id}" }
%td= administrateur.email
%td= administrateur.created_at.strftime('%d/%m/%Y %H:%M')
%td= administrateur.registration_state
%td
- if administrateur == current_administrateur
Cest vous !
- else
= link_to 'Retirer',
[@procedure, administrateur],
method: :delete,
'data-confirm': "Retirer « #{administrateur.email} » des administrateurs de « #{@procedure.libelle} » ?",
remote: true