Display a footer in the dossiers index page
This commit is contained in:
parent
5166b79167
commit
1f6870cd5e
3 changed files with 8 additions and 1 deletions
|
@ -4,4 +4,4 @@
|
|||
–
|
||||
= link_to "Mentions légales", MENTIONS_LEGALES_URL, :class => "footer-link", :target => "_blank", rel: "noopener noreferrer"
|
||||
–
|
||||
= contact_link "Contact technique", class: "footer-link", dossier_id: dossier.id
|
||||
= contact_link "Contact technique", class: "footer-link", dossier_id: dossier&.id
|
||||
|
|
4
app/views/new_user/dossiers/_index_footer.html.haml
Normal file
4
app/views/new_user/dossiers/_index_footer.html.haml
Normal file
|
@ -0,0 +1,4 @@
|
|||
%footer.dossier-footer
|
||||
.container
|
||||
.footer-row.footer-bottom-line
|
||||
= render partial: "new_user/dossiers/general_footer_row", locals: { dossier: nil }
|
|
@ -1,5 +1,8 @@
|
|||
- content_for(:title, "Dossiers")
|
||||
|
||||
- content_for :footer do
|
||||
= render partial: "new_user/dossiers/index_footer"
|
||||
|
||||
.dossiers-headers.sub-header
|
||||
.container
|
||||
= link_to "Commencer une nouvelle démarche", new_demarche_url, class: "button secondary new-demarche"
|
||||
|
|
Loading…
Add table
Reference in a new issue