adding password rest method and changing some logic around

This commit is contained in:
Mike McCabe
2013-12-11 22:25:02 -05:00
parent 8eb398950f
commit abe22b19e9
6 changed files with 56 additions and 40 deletions
@@ -10,7 +10,7 @@
<!-- This form is just a placeholder with no working functionality -->
<div class="signup">
<%= form_tag "reset_passwords", :class=> "signup-wrapper" do %>
<%= form_tag "password_resets", :class=> "signup-wrapper" do %>
<div class="header">
<h2>Create Password</h2>
@@ -18,6 +18,7 @@
</div>
<div class="content">
<%= hidden_field_tag 'user', Base64.encode64(Marshal.dump(@user)) %>
<%= label_tag "Enter Password" %>
<%= password_field_tag :password, params[:password], {:class => "input input-block-level"} %>
<%= label_tag "Confirm Password" %>
@@ -35,4 +36,4 @@
</div>
</div>
</div>
</div>
</div>