[Fix #2692] Move the sign up CTA at the top of the sign in page
This commit is contained in:
parent
d78f4a8faf
commit
56cfcd08d3
2 changed files with 10 additions and 9 deletions
|
@ -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;
|
||||
|
|
|
@ -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 primary auth-signup-button"
|
||||
|
|
Loading…
Reference in a new issue