Skip to content

Commit 76302c5

Browse files
committed
signup page improvement
1 parent 84ed095 commit 76302c5

File tree

5 files changed

+192
-10
lines changed

5 files changed

+192
-10
lines changed

app/views/memberships/plans.html.erb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
<div class="panel-body price-panels-body">
5757
<div class="the-price">
5858
<h1>
59-
$49<span class="subscript">/mo</span></h1>
59+
$9<span class="subscript">/mo</span></h1>
6060
<small>2 weeks FREE trial</small>
6161
</div>
6262
<table class="table">
@@ -113,7 +113,7 @@
113113
<div class="panel-body price-panels-body">
114114
<div class="the-price">
115115
<h1>
116-
$99<span class="subscript">/mo</span></h1>
116+
$19<span class="subscript">/mo</span></h1>
117117
<small>2 weeks FREE trial</small>
118118
</div>
119119
<table class="table">
@@ -163,7 +163,7 @@
163163
<div class="panel-body price-panels-body">
164164
<div class="the-price">
165165
<h1>
166-
$199<span class="subscript">/mo</span></h1>
166+
$29<span class="subscript">/mo</span></h1>
167167
<small>2 weeks FREE trial</small>
168168
</div>
169169
<table class="table">

app/views/sessions/new.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
<%= f.submit "Log in", class: "btn btn-primary" %>
2323
<div style="float:right">
24-
<span></span>New user? <%= link_to "Sign up now!", signup_path %>
24+
<span></span>New user? <%= link_to "Sign up now!", signup_path(:membership_level_id => 1) %>
2525
</div>
2626
</div>
2727

app/views/static_pages/home.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
Screen your interview candidates with ease.
7676
</h2>
7777

78-
<%= link_to "Sign up!", signup_path, class: "btn btn-lg btn-primary" %>
78+
<%= link_to "Sign up!", signup_path(:membership_level_id => 1), class: "btn btn-lg btn-primary" %>
7979
<%= link_to "Overview", about_path, class: "btn btn-lg btn-primary" %>
8080
</div>
8181

app/views/users/_fields.html.erb

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
<%= render 'shared/error_messages', object: f.object %>
22

3+
<%= f.label :membership_level, "Desired Membership Level" %>
4+
<div class="field">
5+
<%= f.collection_select(:membership_level_id, MembershipLevel.all, :id, :name) %>
6+
</div>
7+
38
<%= f.label :name %>
49
<%= f.text_field :name, class: 'form-control' %>
510

@@ -12,8 +17,4 @@
1217
<%= f.label :password_confirmation, "Confirm Password" %>
1318
<%= f.password_field :password_confirmation, class: 'form-control' %>
1419

15-
<%= f.label :membership_level, "Desired Membership Level" %>
16-
<div class="field">
17-
<%= f.collection_select(:membership_level_id, MembershipLevel.all, :id, :name) %>
18-
</div>
1920

app/views/users/new.html.erb

Lines changed: 182 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<% provide(:title, 'Sign up') %>
22
<div class="page-header">
3-
<h1>Sign Up (<%= link_to "Show Membership Plans", plans_path %>)</h1>
3+
<h1>Sign Up (<a href data-toggle="modal" data-target="#membershipPlans">Show Membership Plans</a>)</h1>
44
</div>
5+
56
<div class="row">
67
<div class="col-md-6 col-md-offset-3">
78
<%= form_for(@user) do |f| %>
@@ -16,6 +17,186 @@
1617
</div>
1718
</div>
1819
<br>
20+
21+
<!-- Modal -->
22+
<div class="modal fade" id="membershipPlans" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
23+
<div class="modal-dialog modal-lg">
24+
<div class="modal-content">
25+
<div class="modal-header">
26+
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
27+
<h4 class="modal-title" id="myModalLabel">Membership Plans</h4>
28+
</div>
29+
<div class="modal-body">
30+
31+
<div class="row">
32+
<div class="col-md-1"> </div>
33+
<div class="col-xs-12 col-md-3">
34+
<div class="panel panel-primary price-panels">
35+
<div class="panel-heading">
36+
<h3 class="panel-title">
37+
Bronze</h3>
38+
</div>
39+
<div class="panel-body price-panels-body">
40+
<div class="the-price">
41+
<h1>
42+
$9<span class="subscript">/mo</span></h1>
43+
<small>2 weeks FREE trial</small>
44+
</div>
45+
<table class="table">
46+
<tr>
47+
<td>
48+
10 Job Listings
49+
</td>
50+
</tr>
51+
<tr class="active">
52+
<td>
53+
10 Custom Screening Tests
54+
</td>
55+
</tr>
56+
<tr>
57+
<td>
58+
50 Custom Questions
59+
</td>
60+
</tr>
61+
<tr class="active">
62+
<td>
63+
10 Candidates
64+
</td>
65+
</tr>
66+
<tr>
67+
<td>
68+
1 Year Test Results
69+
</td>
70+
</tr>
71+
<tr class="active">
72+
<td>
73+
Weekly Reports
74+
</td>
75+
</tr>
76+
</table>
77+
</div>
78+
<div class="panel-footer">
79+
<%= link_to "Sign Up", signup_path(:membership_level_id => 2), class: "btn btn-success" %>
80+
FREE trial</div>
81+
</div>
82+
</div>
83+
<div class="col-xs-12 col-md-3">
84+
<div class="panel panel-success price-panels">
85+
<div class="cnrflash">
86+
<div class="cnrflash-inner">
87+
<span class="cnrflash-label">MOST
88+
<br>
89+
POPULAR</span>
90+
</div>
91+
</div>
92+
<div class="panel-heading">
93+
<h3 class="panel-title">
94+
Gold</h3>
95+
</div>
96+
<div class="panel-body price-panels-body">
97+
<div class="the-price">
98+
<h1>
99+
$19<span class="subscript">/mo</span></h1>
100+
<small>2 weeks FREE trial</small>
101+
</div>
102+
<table class="table">
103+
<tr>
104+
<td>
105+
50 Job Listings
106+
</td>
107+
</tr>
108+
<tr class="active">
109+
<td>
110+
50 Custom Screening Tests
111+
</td>
112+
</tr>
113+
<tr>
114+
<td>
115+
200 Custom Questions
116+
</td>
117+
</tr>
118+
<tr class="active">
119+
<td>
120+
50 Candidates
121+
</td>
122+
</tr>
123+
<tr>
124+
<td>
125+
Neverending Results Storage
126+
</td>
127+
</tr>
128+
<tr class="active">
129+
<td>
130+
Weekly Reports
131+
</td>
132+
</tr>
133+
</table>
134+
</div>
135+
<div class="panel-footer">
136+
<%= link_to "Sign Up", signup_path(:membership_level_id => 3), class: "btn btn-success" %>
137+
FREE trial</div>
138+
</div>
139+
</div>
140+
<div class="col-xs-12 col-md-3">
141+
<div class="panel panel-info price-panels">
142+
<div class="panel-heading">
143+
<h3 class="panel-title">
144+
Platinum</h3>
145+
</div>
146+
<div class="panel-body price-panels-body">
147+
<div class="the-price">
148+
<h1>
149+
$29<span class="subscript">/mo</span></h1>
150+
<small>2 weeks FREE trial</small>
151+
</div>
152+
<table class="table">
153+
<tr>
154+
<td>
155+
200 Job Listings
156+
</td>
157+
</tr>
158+
<tr class="active">
159+
<td>
160+
Unlimited Screening Tests
161+
</td>
162+
</tr>
163+
<tr>
164+
<td>
165+
Unlimited Custom Questions
166+
</td>
167+
</tr>
168+
<tr class="active">
169+
<td>
170+
200 Candidates
171+
</td>
172+
</tr>
173+
<tr>
174+
<td>
175+
Neverending Results Storage
176+
</td>
177+
</tr>
178+
<tr class="active">
179+
<td>
180+
Weekly Reports
181+
</td>
182+
</tr>
183+
</table>
184+
</div>
185+
<div class="panel-footer">
186+
<%= link_to "Sign Up", signup_path(:membership_level_id => 4), class: "btn btn-success" %>
187+
FREE trial</div>
188+
</div>
189+
</div>
190+
</div>
191+
192+
<div class="modal-footer">
193+
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
194+
</div>
195+
</div>
196+
</div>
197+
</div>
198+
199+
19200
<div class="row">
20201
<div class="col-md-6 col-md-offset-3">
21202
<div style="text-align: center"><small>By signing up, you agree to our <%= link_to "Privacy Policy", privacy_path %> and our

0 commit comments

Comments
 (0)