tabular view
This commit is contained in:
parent
95993c087b
commit
fb267b662c
@ -32,15 +32,22 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if ingredients %}
|
{% if ingredients %}
|
||||||
<div class="card" style="width: 18rem;">
|
<div class="row">
|
||||||
<div class="card-body">
|
<div class="col col-md-6">
|
||||||
<h5 class="card-title">{% trans 'Ingredients' %}</h5>
|
<div class="card">
|
||||||
|
<div class="card-body">
|
||||||
|
<h5 class="card-title">{% trans 'Ingredients' %}</h5>
|
||||||
{% for i in ingredients %}
|
<table>
|
||||||
{{ i.amount }} {{ i.unit }} {{ i.name }} <br/>
|
{% for i in ingredients %}
|
||||||
{% endfor %}
|
<tr>
|
||||||
|
<td>{{ i.amount.normalize }} </td>
|
||||||
|
<td>{{ i.unit }} </td>
|
||||||
|
<td>{{ i.name }}</td>
|
||||||
|
</tr>
|
||||||
|
{% endfor %}
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<br/>
|
<br/>
|
||||||
|
Loading…
Reference in New Issue
Block a user