feat(instruction routage choice): add back link instead of menu
This commit is contained in:
parent
5ff09d1f9e
commit
f53af82f14
1 changed files with 9 additions and 2 deletions
|
@ -1,6 +1,13 @@
|
||||||
.container
|
.container
|
||||||
.fr-grid-row
|
.fr-grid-row
|
||||||
.fr-col.fr-col-12.fr-col-md-3
|
.fr-col.fr-col-12.fr-col-md-3
|
||||||
|
- if params[:state] != 'choix'
|
||||||
= render(Dsfr::SidemenuComponent.new) do |component|
|
= render(Dsfr::SidemenuComponent.new) do |component|
|
||||||
- component.with_links(links)
|
- 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
|
.fr-col= content
|
||||||
|
|
Loading…
Reference in a new issue