basic view step design

This commit is contained in:
vabene1111 2020-06-29 16:24:41 +02:00
parent 8f28e4766d
commit 06db7114ed

View File

@ -212,9 +212,22 @@
<div style="font-size: large">
{% for s in recipe.steps.all %}
{% if recipe.steps.all|length > 1 %}
<div class="row">
<div class="col-md-12 text-muted">
<small>{% trans 'Step' %} {{ forloop.counter }}{% if s.name %} - {{ s.name }}{% endif %}</small>
</div>
</div>
{% endif %}
<div class="row" style="margin-top: 8px">
<div class="col-md-12">
{% if s.instruction %}
{{ s.instruction | markdown | safe }}
{% endif %}
</div>
</div>
{% endfor %}
</div>