diff options
| -rw-r--r-- | app/views/referentials/_form.html.slim | 6 | ||||
| -rw-r--r-- | config/locales/actions.en.yml | 1 | ||||
| -rw-r--r-- | config/locales/actions.fr.yml | 1 |
3 files changed, 7 insertions, 1 deletions
diff --git a/app/views/referentials/_form.html.slim b/app/views/referentials/_form.html.slim index 1611ee6dd..9927f05bd 100644 --- a/app/views/referentials/_form.html.slim +++ b/app/views/referentials/_form.html.slim @@ -51,4 +51,8 @@ .hidden = form.input :workbench_id, as: :hidden - = form.button :submit, t('actions.submit'), class: 'btn btn-default formSubmitr', form: 'referential_form' + = form.button :submit, + t('actions.submit'), + class: 'btn btn-default formSubmitr', + data: { disable_with: t('actions.processing') }, + form: 'referential_form' diff --git a/config/locales/actions.en.yml b/config/locales/actions.en.yml index f5f48db22..08d505393 100644 --- a/config/locales/actions.en.yml +++ b/config/locales/actions.en.yml @@ -7,6 +7,7 @@ en: delete: "Delete" search: "Search" submit: "Submit" + processing: "Processing…" add: "Add new" new: "Add new" show: "See" diff --git a/config/locales/actions.fr.yml b/config/locales/actions.fr.yml index 4b3ac6901..4690c995a 100644 --- a/config/locales/actions.fr.yml +++ b/config/locales/actions.fr.yml @@ -7,6 +7,7 @@ fr: delete: 'Supprimer' search: "Chercher" submit: "Valider" + processing: "En cours…" add: 'Créer' new: 'Créer' show: 'Consulter' |
