{{ d }}

Type
Type {{ d.type }}
Category {{ d.category | title}}
{% with items=d.num_items %} Show {{ items }} item{{ items | pluralize}} {% if request.user.is_staff %}Edit{% endif %} {% endwith %}