From 7640911ab9dcd93df1c6758b11c78e97ad37d07c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chai=CC=88b=20Martinez?= Date: Fri, 23 Aug 2019 12:15:54 +0200 Subject: [PATCH] Remove sign up form sign in Add link to sign up help MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Chaïb Martinez --- app/views/users/sessions/new.html.haml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/app/views/users/sessions/new.html.haml b/app/views/users/sessions/new.html.haml index 9f7a9962f..9dc1d7a36 100644 --- a/app/views/users/sessions/new.html.haml +++ b/app/views/users/sessions/new.html.haml @@ -1,12 +1,6 @@ = content_for(:page_id, 'auth') .auth-form.sign-in-form - %p.register - %span - Nouveau sur demarches‑simplifiees.fr ? - = link_to "Créer un compte", new_user_registration_path, class: "button primary auth-signup-button" - - %hr = form_for User.new, url: user_session_path, html: { class: "form" } do |f| %h1 Connectez-vous @@ -28,3 +22,10 @@ = f.submit "Se connecter", class: "button large primary expand" = render partial: 'shared/france_connect_login', locals: { url: france_connect_particulier_path } + + %hr + %p.center + %span Vous êtes nouveau sur demarches‑simplifiees.fr ? + %br + %br + = link_to "Trouvez votre démarche", "https://faq.demarches-simplifiees.fr/article/59-comment-trouver-ma-demarche", class: "button expend secondary"