step sections
This commit is contained in:
parent
98c77cb102
commit
e4890b6fd8
3 changed files with 48 additions and 11 deletions
|
@ -24,11 +24,16 @@
|
|||
{% endfor %}
|
||||
{% if rec.price != None %}price: {{price(rec.price)}}{%endif%}
|
||||
{% endif %}
|
||||
{% if rec.steps|length != 0 %}
|
||||
<h3>Steps</h3>
|
||||
{% for step in rec.steps %}
|
||||
<li>{{ step }}</li>
|
||||
{% endfor %}
|
||||
{% if rec.stepsections|length != 0 %}
|
||||
<h3>Steps</h3>
|
||||
{% for stepsection in rec.stepsections %}
|
||||
{% if stepsection.title != "default" %}
|
||||
<h4>{{stepsection.title}}</h4>
|
||||
{% endif %}
|
||||
{% for step in stepsection.steps %}
|
||||
<li>{{ step }}</li>
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
<hr>
|
||||
{%- endmacro %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue