Add main and headers tags in layout (RGAA 9.2.1)
This commit is contained in:
parent
9c7feae0b2
commit
1a1bd306b1
2 changed files with 4 additions and 3 deletions
|
@ -3,7 +3,7 @@
|
||||||
- dossier = controller.try(:dossier_for_help)
|
- dossier = controller.try(:dossier_for_help)
|
||||||
- procedure = controller.try(:procedure_for_help)
|
- procedure = controller.try(:procedure_for_help)
|
||||||
|
|
||||||
.new-header{ class: current_page?(root_path) ? nil : "new-header-with-border" }
|
%header.new-header{ class: current_page?(root_path) ? nil : "new-header-with-border" }
|
||||||
.header-inner-content
|
.header-inner-content
|
||||||
|
|
||||||
.flex.align-center
|
.flex.align-center
|
||||||
|
|
|
@ -33,8 +33,9 @@
|
||||||
Env Test
|
Env Test
|
||||||
|
|
||||||
= render partial: "layouts/new_header"
|
= render partial: "layouts/new_header"
|
||||||
= render partial: "layouts/flash_messages"
|
%main
|
||||||
= content_for?(:content) ? yield(:content) : yield
|
= render partial: "layouts/flash_messages"
|
||||||
|
= content_for?(:content) ? yield(:content) : yield
|
||||||
|
|
||||||
- if content_for?(:footer)
|
- if content_for?(:footer)
|
||||||
= content_for(:footer)
|
= content_for(:footer)
|
||||||
|
|
Loading…
Reference in a new issue