{% load crispy_forms_tags permissions_widget_tags i18n %} {% for row in table %} {% ifchanged row.app %} {% endifchanged %} {% ifchanged row.model %} {% for group in row.field_groups %} {% endfor %} {% endifchanged %} {% endfor %}
{% trans 'App & Model' %} {% trans 'Fields' %}
{{ row.app|translate|capfirst }}
{{ row.model|translate|capfirst }} {% if row.format %} {{ row.format }} {% endif %}
{% if group %}
{% for permission in group.permissions %} {% endfor %}
{% endif %}