demarches-normaliennes/app/views/new_administrateur/profil/show.html.haml
2018-09-27 10:14:32 +02:00

11 lines
363 B
Text
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#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 }