From 27813954056ea59661df34be6a5c1a8e9e92d294 Mon Sep 17 00:00:00 2001 From: Jyri-Petteri Paloposki Date: Mon, 20 Jul 2020 17:19:26 +0300 Subject: [PATCH] Use the login form styles for the signup form too --- app/assets/stylesheets/login.scss | 2 +- app/views/users/new.html.erb | 61 ++++++++++++++++++------------- 2 files changed, 37 insertions(+), 26 deletions(-) diff --git a/app/assets/stylesheets/login.scss b/app/assets/stylesheets/login.scss index 72a242f6..da1d0737 100644 --- a/app/assets/stylesheets/login.scss +++ b/app/assets/stylesheets/login.scss @@ -34,7 +34,7 @@ body { padding: 1em 0; } -.login-form { +.login-form, .signup-form { @include make-xs-column(12); @include make-sm-column(8); @include make-sm-column-offset(2) diff --git a/app/views/users/new.html.erb b/app/views/users/new.html.erb index 98b018eb..a4ff035d 100644 --- a/app/views/users/new.html.erb +++ b/app/views/users/new.html.erb @@ -1,31 +1,42 @@ -
-<%= form_tag :action=> "create" do %> +
+
+ +
+ -