demarches-normaliennes/app/views/new_administrateur/profil/show.html.haml

12 lines
363 B
Text
Raw Normal View History

2018-08-23 18:53:35 +02:00
#profil-page.container
%h1 Profil
%p API TOKEN : #{@administrateur.api_token}
= link_to "Regénérer mon token",
renew_api_token_path,
method: :post,
class: "button primary",
data: { confirm: "Confirmez-vous la regénération de votre token ? Les applications qui l'utilisent actuellement seront bloquées.",
disable: true }