File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 1
1
<!--suppress CheckTagEmptyBody -->
2
+ <% unless user_signed_in? %>
3
+ < p class ="text-gray small p-0 m-0 " style ="">
4
+ To qualify for the competition, make sure to
5
+ <%= link_to "login" , new_session_path ( resource_name ) , class : "text-yellow" %>
6
+ into your account.
7
+ </ p >
8
+ <% end %>
9
+
2
10
< br >
3
11
< div class ="card p-3 border-0 shadow-sm ">
4
12
<%= form_for @entry do |f | %>
142
150
</ small >
143
151
< small class ="text-secondary ">
144
152
Not a member yet?
145
- <%= link_to 'Join Now ' , new_registration_path ( resource_name ) , class : 'text-decoration-none text-primary' %>
146
- or <%= link_to 'Sign In' , new_session_path ( resource_name ) %>
153
+ <%= link_to 'Create Account ' , new_registration_path ( resource_name ) , class : 'text-decoration-none text-primary' %>
154
+ or <%= link_to 'Log In' , new_session_path ( resource_name ) %>
147
155
</ small >
148
156
<% else %>
149
157
< div class ="col ">
Original file line number Diff line number Diff line change @@ -132,6 +132,10 @@ select *
132
132
from entries
133
133
where user_id = '187' and created_at between 'April 10, 2021 15:00' and 'April 11, 2021 22:00';
134
134
135
+ select *
136
+ from users
137
+ order by competition desc;
138
+
135
139
----------------------------------------------------------------------------
136
140
$ rake db: rollback STEP=1
137
141
You can’t perform that action at this time.
0 commit comments