From ec1e4e5c431cf9b581358ea1af99bcb44f28f7cf Mon Sep 17 00:00:00 2001 From: dewanhimanshu Date: Tue, 10 Jul 2018 14:41:00 +0530 Subject: [PATCH 1/2] swap position of form and icons --- app/views/users/new.html.erb | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/app/views/users/new.html.erb b/app/views/users/new.html.erb index f54ad93162..633fe11e85 100644 --- a/app/views/users/new.html.erb +++ b/app/views/users/new.html.erb @@ -21,18 +21,26 @@ <% end %>
- - <%= render 'form' %> - <% if Rails.env == "production"%> -
OR
+

Sign up with

-
+
+
+ +
-
+
- <% end %> + +
+
+

OR

+
+ + + <%= render 'form' %> + <% cache('feature_signup-notice', skip_digest: true) do %> <%= feature('signup-notice') %> <% end %> From 780b55f4ff8d99c1ba58be90dab74b9f0f352ff8 Mon Sep 17 00:00:00 2001 From: dewanhimanshu Date: Tue, 10 Jul 2018 14:44:05 +0530 Subject: [PATCH 2/2] added ruby env to production --- app/views/users/new.html.erb | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/app/views/users/new.html.erb b/app/views/users/new.html.erb index 633fe11e85..3d09383472 100644 --- a/app/views/users/new.html.erb +++ b/app/views/users/new.html.erb @@ -24,15 +24,16 @@

Sign up with

-
+ <% if Rails.env == "production"%> +
-
- - - - +
+ + + +
- + <% end %>

OR