{% load i18n %} {% if items %} {% for generic_item in items %} {% with generic_item as item %} {{ item.default_alt_text }} {{ item.label }} {% endwith %} {% endfor %} {% else %} {% trans "upload failed" %} {% endif %}