From 8a45b6c012e7276f9da43ab8d1595b6338561936 Mon Sep 17 00:00:00 2001 From: Will Marshall Date: Mon, 7 Apr 2014 14:46:48 +1000 Subject: [PATCH] Removing nothing special text and patching change password form slightly more --- app/controllers/shop/checkout_controller.rb | 1 - app/views/user_passwords/edit.html.haml | 31 +++++++++++---------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/app/controllers/shop/checkout_controller.rb b/app/controllers/shop/checkout_controller.rb index 2e817150f5..be97bd604f 100644 --- a/app/controllers/shop/checkout_controller.rb +++ b/app/controllers/shop/checkout_controller.rb @@ -30,7 +30,6 @@ class Shop::CheckoutController < Spree::CheckoutController if @order.state == "complete" || @order.completed? flash.notice = t(:order_processed_successfully) - flash[:commerce_tracking] = "nothing special" respond_with(@order, :location => order_path(@order)) else clear_ship_address diff --git a/app/views/user_passwords/edit.html.haml b/app/views/user_passwords/edit.html.haml index 0a27217f3e..3042161881 100644 --- a/app/views/user_passwords/edit.html.haml +++ b/app/views/user_passwords/edit.html.haml @@ -1,15 +1,16 @@ -.row - = f_form_for @spree_user, :as => :spree_user, :url => spree.spree_user_password_path, :method => :put do |f| - = render :partial => 'spree/shared/error_messages', :locals => { :target => @spree_user } - %fieldset - %legend= t(:change_my_password) - .row - .large-12.columns - = f.password_field :password - .row - .large-12.columns - = f.password_field :password_confirmation - = f.hidden_field :reset_password_token - .row - .large-12.columns - = f.submit t(:update_password), :class => 'button primary' += f_form_for @spree_user, :as => :spree_user, :url => spree.spree_user_password_path, :method => :put do |f| + = render :partial => 'spree/shared/error_messages', :locals => { :target => @spree_user } + %fieldset + .row + .small-12.medium-6.large-4.columns.medium-centered.large-centered + %legend= t(:change_my_password) + .row + .small-12.medium-6.large-4.columns.medium-centered.large-centered + = f.password_field :password + .row + .small-12.medium-6.large-4.columns.medium-centered.large-centered + = f.password_field :password_confirmation + = f.hidden_field :reset_password_token + .row + .small-10.medium-6.large-4.columns.small-centered + = f.submit t(:update_password), :class => 'button primary'