basic recipe view

This commit is contained in:
vabene1111
2019-11-14 01:13:42 +01:00
parent b725ee6b6a
commit eb10473e63
3 changed files with 19 additions and 3 deletions

View File

@@ -8,6 +8,20 @@
{% block content %}
<h3>{{ recipe.name }}</h3>
<br/>
<div class="card" style="width: 18rem;">
<div class="card-body">
<h5 class="card-title">{% trans 'Ingredients' %}</h5>
{% for i in ingredients %}
{{ i.amount }} {{ i.unit }} {{ i.ingredient.name }} <br/>
{% endfor %}
</div>
</div>
<br/>
<br/>
{{ recipe.instructions | markdown | safe }}