diff --git a/cookbook/templates/recipe_view.html b/cookbook/templates/recipe_view.html index 5225d717..baee44c1 100644 --- a/cookbook/templates/recipe_view.html +++ b/cookbook/templates/recipe_view.html @@ -212,9 +212,22 @@
{% for s in recipe.steps.all %} - {% if s.instruction %} - {{ s.instruction | markdown | safe }} + {% if recipe.steps.all|length > 1 %} +
+
+ {% trans 'Step' %} {{ forloop.counter }}{% if s.name %} - {{ s.name }}{% endif %} +
+
{% endif %} + +
+
+ {% if s.instruction %} + {{ s.instruction | markdown | safe }} + {% endif %} +
+
+ {% endfor %}