%
html = { class: "auth-form" }
url = spree.reset_password_path
%>
<%= form_for Spree::User.new, as: :spree_user, url: url, html: html do |f| %>
<%= render(
"spree/components/forms/inputs/text",
id: :spree_user_email,
label: I18n.t("spree.email"),
name: 'spree_user[email]',
placeholder: "name@example.com",
type: :email
) %>
<%= render(
"spree/components/buttons/button_primary",
content: I18n.t("spree.reset_password"),
full_width: true,
name: :commit,
type: :submit
) %>
<%= I18n.t("spree.or") %> <%= link_to I18n.t("spree.create_a_new_account"), spree.signup_path %>
<% end %>