listing category products

This commit is contained in:
Kayn Ty 2018-04-04 18:37:20 +02:00
parent 122de99a72
commit b560b768ae
1 changed files with 7 additions and 2 deletions

View File

@ -1,9 +1,14 @@
<div class="caisse-main row">
<div class="listing-products col-9">
{% for c in categories %}
{{ c.title }}
<h2>
{{ c.name }}
</h2>
{% for p in c.products %}
{{ p.title }}
<button class="btn btn-default">
{{ p.name }}
</button>
{% endfor %}
{% endfor %}
</div>