houdini/app/views/devise/passwords/edit.html.erb
2020-06-15 10:26:57 -05:00

25 lines
831 B
Text
Executable file

<%- # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later
# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -%>
<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>