Sha256: ca4ddb3b0fdadad0d8b7e9b49c0944956591e30168850798f4f8001f2648f82e

Contents?: true

Size: 801 Bytes

Versions: 1

Compression:

Stored size: 801 Bytes

Contents

<%
  html = {
    class: "auth-form",
    id: "checkout_form_registration"
  }
  url = update_checkout_registration_path
%>

<%= form_for @order, url: url, method: :put, 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: 'order[email]',
      placeholder: "name@example.com",
      type: :email
    ) %>
  </div>
  <div class="auth-form__input-wrapper">
    <%= render(
      "spree/components/buttons/button_primary",
      content: I18n.t("spree.continue"),
      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/_guest_form.html.erb