{% if crud.header %}

{{ crud.model_name_plural }}

{% endif %} {{ '{% if ' + crud.items_name + ' %}' }} {% for field_name in crud.list_fields %} {% endfor %} {{ '{% if ' + crud.can_edit_item + ' %}' }} {{ '{% endif %}' }} {{ '{% for ' + crud.item_name + ' in ' + crud.items_name + ' %}' }} {% for field in crud.list_fields %} {% endfor %} {{ '{% if ' + crud.can_edit_item + ' %}' }} {{ '{% endif %}' }} {{ '{% endfor %}' }}
{{ field_name }}
{{ '{{ ' + crud.item_name + '.' + field + ' }}' }} {% if crud.links.detail %}{{ '[{% trans "Detail" %}]' }}{% endif %} {% if crud.links.edit %}{{ '[{% trans "Edit" %}]' }}{% endif %} {% if crud.links.delete %}{{ '[X]' }}{% endif %}
{{ '{% 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 %}