Updated Forget Password, other minor changes

This commit is contained in:
Jason Denney
2014-01-18 12:11:43 -05:00
parent a35bd2f22b
commit 2b863b8d8a
3 changed files with 14 additions and 14 deletions
+8 -4
View File
@@ -1,12 +1,16 @@
<h2>Forgot your password?</h2>
<%= stylesheet_link_tag "bootstrap_and_overrides", :media => "all" %>
<h2>Forgot your password?</h2>
<br>
<br>
<%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :post }) do |f| %>
<%= devise_error_messages! %>
<div><%= f.label :email %><br />
<%= f.email_field :email %></div>
<div class="form-group">
<%= f.email_field :email, placeholder: "Email", class: "form-control input-lg" %>
</div>
<div><%= f.submit "Send me reset password instructions" %></div>
<div><%= f.submit "Reset Password", class:"btn btn-lg btn-primary"%></div>
<% end %>
<%= render "links" %>