Merge pull request #3260 from betagouv/fix-sign-in-layout

layouts: fix styling of the sign_in and sign_up pages
This commit is contained in:
Mathieu Magnin 2019-01-08 10:23:59 +01:00 committed by GitHub
commit 5fab5106cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
.two-columns.auth
.columns-container
.column.preview
.column.procedure-preview
= image_tag "landing/hero/dematerialiser.svg", class: "paperless-logo"
.baseline.center
%h3 Un outil simple
@ -9,7 +9,7 @@
%br
administratifs dématérialisés.
.column.auth-form
.column.procedure-context-content.auth-form
= devise_error_messages!
= form_for resource, url: user_registration_path, html: { class: "form" } do |f|
%h1 Créez-vous un compte

View file

@ -1,6 +1,6 @@
.two-columns.auth
.columns-container
.column.preview
.column.procedure-preview
- if !@dossier
= image_tag "landing/hero/dematerialiser.svg", class: "paperless-logo"
.baseline.center
@ -22,7 +22,7 @@
.procedure-description
= h simple_format(@dossier.procedure.description)
.column.auth-form.sign-in-form
.column.procedure-context-content.auth-form.sign-in-form
- if resource_name == :user
%p.register
%span