From fb267b662c6b13718346a78f68af50a3b33eec39 Mon Sep 17 00:00:00 2001 From: vabene1111 Date: Sun, 1 Dec 2019 23:17:58 +0100 Subject: [PATCH] tabular view --- cookbook/templates/recipe_view.html | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/cookbook/templates/recipe_view.html b/cookbook/templates/recipe_view.html index 3df89a617..d06b7aba9 100644 --- a/cookbook/templates/recipe_view.html +++ b/cookbook/templates/recipe_view.html @@ -32,15 +32,22 @@ {% endif %} {% if ingredients %} -
-
-
{% trans 'Ingredients' %}
- - - {% for i in ingredients %} - {{ i.amount }} {{ i.unit }} {{ i.name }}
- {% endfor %} - +
+
+
+
+
{% trans 'Ingredients' %}
+ + {% for i in ingredients %} + + + + + + {% endfor %} +
{{ i.amount.normalize }} {{ i.unit }} {{ i.name }}
+
+