From 94783f44f9ea3e166806384fce04833ecaf3619e Mon Sep 17 00:00:00 2001 From: Luis Ramos Date: Mon, 9 Mar 2020 15:30:37 +0000 Subject: [PATCH] Delete templates that are not used --- app/views/home/_login.html.haml | 19 ------------------- app/views/home/_signup.html.haml | 18 ------------------ 2 files changed, 37 deletions(-) delete mode 100644 app/views/home/_login.html.haml delete mode 100644 app/views/home/_signup.html.haml diff --git a/app/views/home/_login.html.haml b/app/views/home/_login.html.haml deleted file mode 100644 index 12b261b8f5..0000000000 --- a/app/views/home/_login.html.haml +++ /dev/null @@ -1,19 +0,0 @@ -.row - .large-12.large-centered.columns - %h2 - = t :label_login -= form_for Spree::User.new, :remote => true, :html => {'data-type' => :json}, :as => :spree_user, :url => spree.spree_user_session_path do |f| - #password-credentials - #login-error-alert.alert-box.alert.hide - = t :login_invalid - %p - = f.label :email, t(:email) - = f.email_field :email, :class => 'title', :tabindex => 1, :id => "login_spree_user_email" - %p - = f.label :password, t(:password) - = f.password_field :password, :class => 'title', :tabindex => 2, :id => "login_spree_user_password" - %p - %label - = f.check_box :remember_me - = f.label :remember_me, t(:remember_me) - %p= f.submit t(:login), :class => 'button primary', :tabindex => 3, :id => "login_spree_user_remember_me" diff --git a/app/views/home/_signup.html.haml b/app/views/home/_signup.html.haml deleted file mode 100644 index 4eddb76c96..0000000000 --- a/app/views/home/_signup.html.haml +++ /dev/null @@ -1,18 +0,0 @@ -.row - .large-12.large-centered.columns - %h2 - = t :label_signup -= form_for Spree::User.new, :as => :spree_user, :url => spree.spree_user_registration_path(@spree_user) do |f| - %p - = f.label :email, t(:email) - = f.email_field :email, :class => 'title', :id => "signup_spree_user_email" - - #password-credentials - %p - = f.label :password, t(:password) - = f.password_field :password, :class => 'title', :id => "signup_spree_user_password" - %p - = f.label :password_confirmation, t(:confirm_password) - = f.password_field :password_confirmation, :class => 'title', :id => "signup_spree_user_password_confirmation" - - = f.submit t(:create), :class => 'button'