From 7d7bdb11ae7372908c9df57bedc03104504e713b Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Mon, 27 Feb 2017 21:34:02 -0800 Subject: [PATCH] Add ingredients field to product view --- tailbone/templates/products/view.mako | 13 ++++++++++++- tailbone/views/products.py | 1 + 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/tailbone/templates/products/view.mako b/tailbone/templates/products/view.mako index dd33d476..52dc3476 100644 --- a/tailbone/templates/products/view.mako +++ b/tailbone/templates/products/view.mako @@ -15,7 +15,7 @@ .panel-wrapper { float: left; margin-right: 15px; - min-width: 40%; + width: 40%; } @@ -106,6 +106,15 @@ +<%def name="ingredients_panel()"> +
+

Ingredients

+
+ ${render_field_readonly(form.fieldset.ingredients)} +
+
+ +