From 4ec782ab15a4de35bf370bf7f09288772cbfefb8 Mon Sep 17 00:00:00 2001 From: gregoirenovel Date: Tue, 13 Mar 2018 11:24:12 +0100 Subject: [PATCH] [Fix #1599] Add rel attribute to target blank links --- app/views/root/landing.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/root/landing.html.haml b/app/views/root/landing.html.haml index 28420a47d..f4a83c69b 100644 --- a/app/views/root/landing.html.haml +++ b/app/views/root/landing.html.haml @@ -47,7 +47,7 @@ %p.role-panel-explanation Créez des formulaires en ligne en quelques minutes et instruisez les demandes des usagers sur une plateforme dédiée = link_to "Demander un compte", - "mailto:#{t("dynamics.contact_email")}?subject=Demande%20de%20compte%20administrateur%20demarches-simplifiees.fr", + "https://pipedrivewebforms.com/form/c4a5de08b0a1dcc92374e853aa11905a1871869", class: "role-panel-button-primary", target: "_blank", rel: "noopener noreferrer", @@ -198,7 +198,7 @@ %p.cta-panel-explanation Notre équipe est disponible pour vous renseigner et vous aider %div = link_to "Contactez-nous", - "mailto:#{t("dynamics.contact_email")}?subject=Question%20à%20propos%20de%20demarches-simplifiees.fr", + "https://pipedrivewebforms.com/form/c4a5de08b0a1dcc92374e853aa11905a1871869", class: "cta-panel-button-white", target: "_blank", rel: "noopener noreferrer"