Commit da160819 authored by Douwe Maan's avatar Douwe Maan

Add headings to signin/signup blocks on signin page.

parent 529188e4
...@@ -40,8 +40,7 @@ ...@@ -40,8 +40,7 @@
.login-heading h3 { .login-heading h3 {
font-weight: 300; font-weight: 300;
line-height: 1.5; line-height: 1.5;
margin: 0; margin: 0 0 10px 0;
display: none;
} }
.login-footer { .login-footer {
......
.login-box .login-box
- if signup_enabled?
.login-heading
%h3 Existing user? Sign in
- else
.login-heading .login-heading
%h3 Sign in %h3 Sign in
.login-body .login-body
......
.login-box .login-box
- if signin_enabled?
.login-heading .login-heading
%h3 Sign up %h3 New user? Create an account
- else
.login-heading
%h3 Create an account
.login-body .login-body
= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| = form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f|
.devise-errors .devise-errors
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment