Extract the general footer row in a partial

This commit is contained in:
gregoirenovel 2018-09-12 13:27:42 +02:00
parent cedf1ba427
commit 5166b79167
2 changed files with 8 additions and 7 deletions

View file

@ -36,10 +36,4 @@
%p= politique
.footer-row.footer-bottom-line
= link_to "Accessibilité", accessibilite_index_path, :class => "footer-link"
= link_to "CGU", CGU_URL, :class => "footer-link", :target => "_blank", rel: "noopener noreferrer"
= 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
= render partial: "new_user/dossiers/general_footer_row", locals: { dossier: @dossier }

View file

@ -0,0 +1,7 @@
= link_to "Accessibilité", accessibilite_index_path, :class => "footer-link"
= link_to "CGU", CGU_URL, :class => "footer-link", :target => "_blank", rel: "noopener noreferrer"
= 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