Merge pull request #2805 from betagouv/fix-2692

Fix #2692
This commit is contained in:
gregoirenovel 2018-10-11 14:07:39 +02:00 committed by GitHub
commit 22baf2569f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 auth-signup-button"