{% if not items %}
Add frames to populate the contact sheet.
{% else %}
{% for item in items %}
{% if item.frame %}{{ item.frame }}{% else %}{% if forloop.Counter < 10 %}0{% endif %}{{ forloop.Counter }}{% endif %}{% if item.image %}{{ item.label }}{% else %}
{% endif %}{% if item.label %}
{{ item.label }}
{% endif %}
{% endfor %}
{% endif %}