[Fix #2692] Move the sign up CTA at the top of the sign in page

This commit is contained in:
gregoirenovel 2018-10-11 10:24:11 +02:00
parent d78f4a8faf
commit 56cfcd08d3
2 changed files with 10 additions and 9 deletions

View file

@ -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;

View file

@ -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 "Quest-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 primary auth-signup-button"