%= content_for :stylesheets do %>
<%= stylesheet_link_tag "alchemy-devise" %>
<% end %>
<%= image_tag 'alchemy/alchemy-logo.svg', id: 'logo' %>
<% if @user.errors.blank? %>
<%= render_message do %>
<%= Alchemy.t('Password reset') %>
<%= Alchemy.t('Please enter a new password') %>
<% end %>
<% else %>
<%= devise_error_messages! %>
<% end %>
<%= alchemy_form_for resource, as: resource_name, url: admin_update_password_path, method: 'patch' do |f| %>
<%= f.hidden_field :reset_password_token %>
<%= f.input :password, autofocus: true, label: Alchemy.t("New password") %>
<%= f.input :password_confirmation, label: Alchemy.t("Confirm new password") %>
<%= link_to Alchemy.t(:back), alchemy.admin_login_path %>
<%= f.submit Alchemy.t("Change password") %>
<% end %>