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

25 lines
774 B
Text
Raw Normal View History

<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<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>