From 69df378d690b6aef535bbbf0522495bdc643f5a2 Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Wed, 6 Mar 2013 13:43:41 -0300 Subject: [PATCH] Adding the cart namespace to a style selector of the cart plugin --- plugins/shopping_cart/public/style.css | 2 +- plugins/shopping_cart/views/shopping_cart_plugin_myprofile/reports.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/shopping_cart/public/style.css b/plugins/shopping_cart/public/style.css index 3fab249..dc5fb9e 100644 --- a/plugins/shopping_cart/public/style.css +++ b/plugins/shopping_cart/public/style.css @@ -209,7 +209,7 @@ label.error { padding-left: 5px; } -#order-filter { +#cart-order-filter { background-color: #ccc; border: 1px solid #aaa; border-radius: 5px; diff --git a/plugins/shopping_cart/views/shopping_cart_plugin_myprofile/reports.html.erb b/plugins/shopping_cart/views/shopping_cart_plugin_myprofile/reports.html.erb index a0a41aa..6eaba05 100644 --- a/plugins/shopping_cart/views/shopping_cart_plugin_myprofile/reports.html.erb +++ b/plugins/shopping_cart/views/shopping_cart_plugin_myprofile/reports.html.erb @@ -6,7 +6,7 @@ <% status_collection = [[nil, _('All')]] %> <% status_collection += status.map{|s| [pos+=1, s] } %> -<% form_tag({}, {:id => 'order-filter'}) do %> +<% form_tag({}, {:id => 'cart-order-filter'}) do %> <%= labelled_text_field(_('From')+' ', :from, @from.strftime("%Y-%m-%d"), :id => 'from', :size => 9) %> <%= labelled_text_field(_('to')+' ', :to, @to.strftime("%Y-%m-%d"), :id => 'to', :size => 9) %> <%= labelled_select(_('Status')+' ', :filter_status, :first, :last, @status, status_collection)%> -- libgit2 0.21.2