{% load i18n slot_tags util_tags %} {% if item.slots.exists %}

Additional Attributes

{% for slot in item.slots.all|order_by:'type__slot_name' %} {% endfor %}
{% trans 'Slot name' %} {% trans 'Details' %} {% trans 'Cardinality' %} {% trans 'Value' %}
{{ slot.type.slot_name }} {{slot.type.help_text}} {{slot.type.get_cardinality_display}} {{ slot.value|linebreaks }}
{% endif %}