From 5f155df42ae5cd84dbe42c00b8e8a9156a1e4137 Mon Sep 17 00:00:00 2001 From: summerscope Date: Fri, 13 Jun 2014 14:32:06 +1000 Subject: [PATCH] Making input label in shopfront small to distinguish from variant name and price --- app/views/shop/products/_master.html.haml | 2 +- app/views/shop/products/_variants.html.haml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/shop/products/_master.html.haml b/app/views/shop/products/_master.html.haml index 59c0911cfd..c06acb5cb1 100644 --- a/app/views/shop/products/_master.html.haml +++ b/app/views/shop/products/_master.html.haml @@ -15,7 +15,7 @@ name: "variants[{{product.master.id}}]", id: "variants_{{product.master.id}}", "ng-model" => "product.quantity"} - {{ product.master.unit_to_display }} + %small {{ product.master.unit_to_display }} -# WITH GROUP BUY .small-2.columns{"bo-if" => "product.group_buy"} diff --git a/app/views/shop/products/_variants.html.haml b/app/views/shop/products/_variants.html.haml index 1863bf7c1c..9faaa5e8b1 100644 --- a/app/views/shop/products/_variants.html.haml +++ b/app/views/shop/products/_variants.html.haml @@ -18,7 +18,7 @@ max: "{{variant.on_demand && 9999 || variant.count_on_hand }}", name: "variants[{{variant.id}}]", id: "variants_{{variant.id}}", "bo-model" => "variant.quantity"} - {{ variant.unit_to_display }} + %small {{ variant.unit_to_display }} -# WITH GROUP BUY .small-2.columns{"bo-if" => "product.group_buy"} @@ -39,7 +39,7 @@ max: "{{variant.on_demand && 9999 || variant.count_on_hand }}", name: "variant_attributes[{{variant.id}}][max_quantity]", "ng-model" => "variant.max_quantity"} - {{ variant.unit_to_display }} + %small {{ variant.unit_to_display }} .small-2.columns.text-right.price {{ variant.price | currency }}