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:
parent
67abc4e287
commit
2585485370
2 changed files with 5 additions and 6 deletions
|
@ -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 }
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.container
|
||||
.dossier-edit.container
|
||||
= render partial: "shared/dossiers/submit_is_over", locals: { dossier: dossier }
|
||||
|
||||
- if apercu
|
||||
|
|
Loading…
Reference in a new issue