From 1e99c122b720f3138abbc22976ab45df57bea0b7 Mon Sep 17 00:00:00 2001 From: Eric Leroy-Terquem Date: Wed, 16 Oct 2024 14:42:52 +0200 Subject: [PATCH] feat(instruction options management): add link to go back to procedure --- .../instructeurs_options_component.html.haml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/components/procedure/instructeurs_options_component/instructeurs_options_component.html.haml b/app/components/procedure/instructeurs_options_component/instructeurs_options_component.html.haml index 4b281219a..a06836ec8 100644 --- a/app/components/procedure/instructeurs_options_component/instructeurs_options_component.html.haml +++ b/app/components/procedure/instructeurs_options_component/instructeurs_options_component.html.haml @@ -66,3 +66,11 @@ = link_to 'Retour', options_admin_procedure_groupe_instructeurs_path(@procedure), class: 'fr-btn fr-btn--secondary' %li %button.fr-btn{ disabled: true, data: { 'enable-submit-if-checked-target': 'submit' } } Continuer +- if params[:state] != 'choix' + .padded-fixed-footer + .fixed-footer + .fr-container + %ul.fr-btns-group.fr-btns-group--inline-md.fr-ml-0 + %li + = link_to admin_procedure_path(id: @procedure), class: 'fr-link fr-icon-arrow-left-line fr-link--icon-left fr-mb-2w fr-mr-2w' do + Revenir à l’écran de gestion