{% if crud.header %}

{{ crud.model_name_plural }} {%- if crud.links.create %} {{ '{% if ' + crud.can_edit_item + ' %}' }} {{ '{% endif %}' }} {% endif %}

{% endif %} {{ '{% if ' + crud.items_name + ' %}' }} {{ '{% for ' + crud.item_name + ' in ' + crud.items_name + ' %}' }}

{% if crud.links.detail %}{{ '' }}{% endif %} {{ '{{ ' + crud.item_name + ' }}' }} {% if crud.links.detail %}{{ '' }}{% endif %}

{% for field_name in crud.list_fields %} {% endfor %}
{{ field_name }} {{ '{{ ' + crud.item_name + '.' + field_name + ' }}' }}
{{ '{% if ' + crud.can_edit_item + ' %}' }} {% if crud.links.edit %}{{ '[{% trans "Edit" %}]' }} |{% endif %} {% if crud.links.delete %}{{ '[X]' }}{% endif %} {{ '{% endif %}' }}
{{ '{% endfor %}' }} {{ '{% else %}' }} {{ '{% blocktrans with name="' + crud.model_name_plural + '" %}No {{ name }}{% endblocktrans %}' }} {{ '{% endif %}' }} {%- if crud.links.create %} {{ '{% if ' + crud.can_edit_item + ' %}' }}

{{ '{% blocktrans with name="' + crud.model_name + '" %}Add new {{ name }}{% endblocktrans %}' }}

{{ '{% endif %}' }} {% endif %}