houdini/app/views/devise/passwords/edit.html.erb

24 lines
677 B
Text
Raw Normal View History

<div id='reset-pass' class='container--narrow padded top--high'>
<div class='container-shadow'></div>
<div class='wrapper'>
<h3>Change your password</h3>
<%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put }) do |f| %>
<div><%= devise_error_messages! %></div><br>
<%= f.hidden_field :reset_password_token, :value => params[:reset_password_token] %>
<%= f.password_field :password, :placeholder => 'New Password' %>
<%= f.password_field :password_confirmation, :placeholder => 'Confirm' %>
<div><%= f.submit "Change Password", :class => 'button--large' %></div>
<% end %>
</div>
</div>