Sha256: fe62805663b0f27ee03c59507e11280fc243cbdb1e307c32095e4787d72c08a0

Contents?: true

Size: 772 Bytes

Versions: 1

Compression:

Stored size: 772 Bytes

Contents

<%
  html = { class: "auth-form" }
  url = spree.reset_password_path
%>

<%= form_for Spree::User.new, as: :spree_user, url: url, html: html do |f| %>
  <div class="auth-form__input-wrapper">
    <%= 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
    ) %>
  </div>
  <div class="auth-form__input-wrapper">
    <%= render(
      "spree/components/buttons/button_primary",
      content: I18n.t("spree.reset_password"),
      full_width: true,
      name: :commit,
      type: :submit
    ) %>
  </div>

  <%= I18n.t("spree.or") %> <%= link_to I18n.t("spree.create_a_new_account"), spree.signup_path %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_starter_frontend-0.1.0 app/views/spree/components/auth/_forgot_form.html.erb