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

View file

@ -1,6 +1,6 @@
.two-columns.auth .two-columns.auth
.columns-container .columns-container
.column.preview .column.procedure-preview
- if !@dossier - if !@dossier
= image_tag "landing/hero/dematerialiser.svg", class: "paperless-logo" = image_tag "landing/hero/dematerialiser.svg", class: "paperless-logo"
.baseline.center .baseline.center
@ -22,7 +22,7 @@
.procedure-description .procedure-description
= h simple_format(@dossier.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 - if resource_name == :user
%p.register %p.register
%span %span