%= 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 your email address') %>
<% end %>
<% else %>
<%= devise_error_messages! %>
<% end %>
<%= alchemy_form_for :user, url: admin_reset_password_path, html: {method: 'post'} do |f| %>
<%= f.input :email,
autofocus: true,
input_html: {value: params[:email]} %>
<%= link_to Alchemy.t(:back), alchemy.admin_login_path %>
<%= f.submit Alchemy.t("Send reset instructions"), input_html: {class: 'secondary'} %>
<% end %>