layouts: fix styling of the sign_in and sign_up pages

This was broken during the shared layout refactoring
This commit is contained in:
Pierre de La Morinerie 2019-01-08 08:16:55 +01:00
parent d9acc47562
commit 142b684170
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