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)
|
||||
- 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
|
||||
|
||||
.flex.align-center
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
Env Test
|
||||
|
||||
= render partial: "layouts/new_header"
|
||||
%main
|
||||
= render partial: "layouts/flash_messages"
|
||||
= content_for?(:content) ? yield(:content) : yield
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue