feat(instruction routage choice): add back link instead of menu

This commit is contained in:
Eric Leroy-Terquem 2024-10-16 15:57:18 +02:00
parent 5ff09d1f9e
commit f53af82f14
No known key found for this signature in database
GPG key ID: 53D8FAECEF207605

View file

@ -1,6 +1,13 @@
.container
.fr-grid-row
.fr-col.fr-col-12.fr-col-md-3
= render(Dsfr::SidemenuComponent.new) do |component|
- component.with_links(links)
- if params[:state] != 'choix'
= render(Dsfr::SidemenuComponent.new) do |component|
- component.with_links(links)
- else
.fr-container
%ul.fr-btns-group.fr-btns-group--inline-md.fr-ml-0
%li
= link_to options_admin_procedure_groupe_instructeurs_path, class: 'fr-link fr-icon-arrow-left-line fr-link--icon-left fr-mb-2w fr-mr-2w' do
Revenir aux options
.fr-col= content