fixed forgot password form
This commit is contained in:
parent
22f4c1908d
commit
6a445b4200
4 changed files with 21 additions and 27 deletions
12
app/views/devise/passwords/edit.html.haml
Normal file
12
app/views/devise/passwords/edit.html.haml
Normal file
|
@ -0,0 +1,12 @@
|
|||
= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put, :class => "login-box" }) do |f|
|
||||
= image_tag "login-logo.png", :width => "304", :height => "66", :class => "login-logo", :alt => "Login Logo"
|
||||
%h3 Change your password
|
||||
= devise_error_messages!
|
||||
= f.hidden_field :reset_password_token
|
||||
%div
|
||||
= f.password_field :password, :class => "text top", :placeholder => "New password"
|
||||
%div
|
||||
= f.password_field :password_confirmation, :class => "text bottom", :placeholder => "Confirm new password"
|
||||
%div
|
||||
= f.submit "Change my password", :class => "btn primary"
|
||||
.right= render :partial => "devise/shared/links"
|
Loading…
Add table
Add a link
Reference in a new issue