Add main and headers tags in layout (RGAA 9.2.1)

This commit is contained in:
simon lehericey 2019-11-06 17:12:57 +01:00
parent 9c7feae0b2
commit 1a1bd306b1
2 changed files with 4 additions and 3 deletions

View file

@ -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

View file

@ -33,6 +33,7 @@
Env Test
= render partial: "layouts/new_header"
%main
= render partial: "layouts/flash_messages"
= content_for?(:content) ? yield(:content) : yield