<% html = { class: "auth-form" } url = spree.registration_path(resource) %> <%= form_for resource, 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/forms/inputs/text", id: :spree_user_password, label: I18n.t("spree.password"), name: 'spree_user[password]', placeholder: "p455w0rd", type: :password ) %>
<%= render( "spree/components/forms/inputs/text", id: :spree_user_password_confirmation, label: I18n.t("spree.confirm_password"), name: 'spree_user[password_confirmation]', placeholder: "p455w0rd", type: :password ) %>
<%= render( "spree/components/buttons/button_primary", content: I18n.t("spree.create"), full_width: true, name: :commit, type: :submit ) %>
<%= I18n.t("spree.or") %> <%= link_to I18n.t("spree.login_as_existing"), spree.login_path %> <% end %>