Move the dossier-edit class directly to the _edit.html.haml template

So that when the partial included in
modifier.html.haml can also benefit from its
styling rules
This commit is contained in:
gregoirenovel 2018-09-21 09:43:59 +02:00
parent 67abc4e287
commit 2585485370
2 changed files with 5 additions and 6 deletions

View file

@ -3,9 +3,8 @@
- content_for :footer do
= render partial: "new_user/dossiers/dossier_footer", locals: { dossier: @dossier }
.dossier-edit
.dossier-header.sub-header
.container
= render partial: "shared/dossiers/header", locals: { dossier: @dossier, apercu: false }
.dossier-header.sub-header
.container
= render partial: "shared/dossiers/header", locals: { dossier: @dossier, apercu: false }
= render partial: "shared/dossiers/edit", locals: { dossier: @dossier, apercu: false }
= render partial: "shared/dossiers/edit", locals: { dossier: @dossier, apercu: false }

View file

@ -1,4 +1,4 @@
.container
.dossier-edit.container
= render partial: "shared/dossiers/submit_is_over", locals: { dossier: dossier }
- if apercu