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:
commit
5fab5106cb
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue