-
<%= I18n.t('spree.login_as_existing') %>
+<%= I18n.t('spree.login_as_existing') %>
+
+ <%= I18n.t("spree.or") %> <%= link_to I18n.t("spree.create_a_new_account"), signup_path, class:"transition-all duration-300 text-black hover:!text-red-500 dark:text-sand underline" %>
+
- <%= form_for Spree::User.new, as: :spree_user, url: create_new_session_path, html: { class: "space-y-6 mb-12" } do |f| %>
+ <%= form_for Spree::User.new, as: :spree_user, url: create_new_session_path, html: { class: "space-y-6" } do |f| %>
<%= f.label :email, "#{t("spree.email")}:" %>
<%= f.email_field :email, placeholder: 'name@example.com' %>
@@ -15,22 +18,21 @@
<%= f.password_field :password, placeholder: "p455w0rd" %>
-
- <%= f.check_box :remember_me, tabindex: 3 %>
- <%= f.label :remember_me, I18n.t("spree.remember_me"), class: "mb-0" %>
+
+
+ <%= f.check_box :remember_me, tabindex: 3 %>
+ <%= f.label :remember_me, I18n.t("spree.remember_me"), class: "mb-0" %>
+
+
+ <%= link_to I18n.t("spree.forgot_password"), recover_password_path, class:"transition-all duration-300 text-black hover:!text-red-500 dark:text-sand underline" %>
<%= f.button(
t("spree.login"),
- class: 'w-fit py-3 px-7 rounded-full text-body-sm font-bold leading-none uppercase whitespace-nowrap transiton-colors duration-200 bg-red-500 text-white hover:bg-red-700',
+ class: 'w-full py-3 px-7 rounded-full text-body-sm font-bold leading-none uppercase whitespace-nowrap transiton-colors duration-200 bg-red-500 text-white hover:bg-red-700',
name: :commit
) %>
- <%= link_to I18n.t("spree.forgot_password"), recover_password_path, class:"transition-all duration-300 text-black hover:!text-red-500 dark:text-sand underline" %>
-
-
-
- <%= I18n.t("spree.or") %> <%= link_to I18n.t("spree.create_a_new_account"), signup_path, class:"transition-all duration-300 text-black hover:!text-red-500 dark:text-sand underline" %>
<% end %>