summaryrefslogtreecommitdiff
path: root/app/views/sessions/new.html.erb
diff options
context:
space:
mode:
authorLuke Shumaker <shumakl@purdue.edu>2014-05-01 17:02:37 -0400
committerLuke Shumaker <shumakl@purdue.edu>2014-05-01 17:02:37 -0400
commit10c6417874129f03f3d2125c5df460865bad2797 (patch)
treee854d003119aaa00b19a78132e6cc137855a86cd /app/views/sessions/new.html.erb
parent8c5772072066eb57cda4b0b8953aebe3af33ca2d (diff)
clean up grep-able issues in forms (mostly using <p> instead of <div>)
Diffstat (limited to 'app/views/sessions/new.html.erb')
-rw-r--r--app/views/sessions/new.html.erb12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/views/sessions/new.html.erb b/app/views/sessions/new.html.erb
index 97f09b6..10adced 100644
--- a/app/views/sessions/new.html.erb
+++ b/app/views/sessions/new.html.erb
@@ -9,17 +9,17 @@
try again.</p>
</div>
<% end %>
- <p>
+ <div class="field">
<%= label_tag(:username_or_email, "Username/Email") %><br/>
<%= text_field_tag(:username_or_email) %>
- </p>
- <p>
+ </div>
+ <div class="field">
<%= label_tag(:password) %><br/>
<%= password_field_tag(:password) %>
- </p>
- <p>
+ </div>
+ <div class="field">
<%= submit_tag("Log in", class: :signin) %>
- </p>
+ </div>
<% end %>
<p>New user? <%= link_to("Sign up now!", new_user_path) %></p>