From d572a892df27b308f030b42747cf6b66dc455f6f Mon Sep 17 00:00:00 2001 From: Christophe Robillard Date: Tue, 6 Oct 2020 16:37:49 +0200 Subject: [PATCH] show masked token if token already been defined --- app/views/new_administrateur/procedures/jeton.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/new_administrateur/procedures/jeton.html.haml b/app/views/new_administrateur/procedures/jeton.html.haml index 55bb4a625..2e4341d38 100644 --- a/app/views/new_administrateur/procedures/jeton.html.haml +++ b/app/views/new_administrateur/procedures/jeton.html.haml @@ -19,6 +19,6 @@ propre à votre démarche. = f.label :api_entreprise_token, "Jeton" - = f.password_field :api_entreprise_token, class: 'form-control' + = f.password_field :api_entreprise_token, value: @procedure.read_attribute(:api_entreprise_token), class: 'form-control' .text-right = f.button 'Enregistrer', class: 'button primary send'