diff --git a/app/assets/stylesheets/new_design/auth.scss b/app/assets/stylesheets/new_design/auth.scss index 0660c050f..d1221bcd3 100644 --- a/app/assets/stylesheets/new_design/auth.scss +++ b/app/assets/stylesheets/new_design/auth.scss @@ -97,8 +97,8 @@ $auth-breakpoint: $two-columns-breakpoint; } hr { - margin-top: 60px; - margin-bottom: 20px; + margin-top: 30px; + margin-bottom: 30px; background-color: $grey; border: none; height: 1px; diff --git a/app/views/users/sessions/new.html.haml b/app/views/users/sessions/new.html.haml index 943afd7a3..d231b6ac9 100644 --- a/app/views/users/sessions/new.html.haml +++ b/app/views/users/sessions/new.html.haml @@ -23,6 +23,14 @@ = h simple_format(@dossier.procedure.description) .column.auth-form + - if resource_name == :user + %p.register + %span + Nouveau sur demarches-simplifiees.fr ? + = link_to "Créer un compte", new_registration_path(resource_name), class: "button primary auth-signup-button" + + %hr + = form_for @user, url: user_session_path, html: { class: "form" } do |f| %h1 Connectez-vous @@ -51,10 +59,3 @@ .center = link_to "Qu’est-ce que FranceConnect ?", "https://app.franceconnect.gouv.fr/en-savoir-plus", target: "_blank", class: "link" - - - if resource_name == :user - %hr - %p.register - %span - Nouveau sur demarches-simplifiees.fr ? - = link_to "Créer un compte", new_registration_path(resource_name), class: "button auth-signup-button"