From 207d15daba5b21876e808e17d5a0743ef34195c5 Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Fri, 29 Dec 2017 21:07:20 +0800 Subject: [PATCH] new design with bootstrap for login and register pages --- app/views/pseudo_members/index.html.erb | 22 ++++++++++-- app/views/pseudo_members/register.html.erb | 42 +++++++++++----------- 2 files changed, 40 insertions(+), 24 deletions(-) diff --git a/app/views/pseudo_members/index.html.erb b/app/views/pseudo_members/index.html.erb index c516b2f..6fd2bac 100644 --- a/app/views/pseudo_members/index.html.erb +++ b/app/views/pseudo_members/index.html.erb @@ -9,8 +9,24 @@ <% elsif OrbitHelper.params[:error] == "dsbld" %> <% end %> -
+ - <%= render_view %> +
+ +
+ +
+
+
+ +
+ +
+
+
-" class="register-btn">Register \ No newline at end of file diff --git a/app/views/pseudo_members/register.html.erb b/app/views/pseudo_members/register.html.erb index 2e2ba6f..0e6a93d 100644 --- a/app/views/pseudo_members/register.html.erb +++ b/app/views/pseudo_members/register.html.erb @@ -7,48 +7,48 @@ <% end %> <%= form_for data["puser"], :url => register_pseudo_user_path, html: {class: "form-horizontal"} do |f|%> -
- -
+
+ +
<%= f.text_field :user_name %>
-
- -
+
+ +
<%= f.text_field :email %>
-
- -
+
+ +
<%= f.text_field :first_name %>
-
- -
+
+ +
<%= f.text_field :last_name %>
-
- -
+
+ +
<%= f.password_field :password %>
-
- -
+
+ +
<%= f.password_field :password_confirmation %>
-
-
- +
+
+
<% end %>