1 2 3 4 5 6 7 8 9
{% if items %} <ul> {% for item in items %} <li>{{ item.quantity }} × {{ item.product }} {{ suffix }}</li> {% endfor %} </ul> {% else %} <p>No items.</p> {% endif %}