{%- block list_fields %}
{%- for name, field in list_fields.items() %}
{%- if item.state is not defined or item.state not in (item.ABSENT, item.DELETED) or name == 'id' %}
{{- list_field(name, field, item, url, loop) -}}
{% else -%}
{%- endif %}
{%- endfor %}
{%- endblock %}
{%- block item_form %}
{%- if list_item_form is defined and list_item_form is not none %}
{%- set items_fieldlist = list_item_form.get_field('items') -%}
{%- set index = row_index|string %}{# reqired to provide index as name, name MUST be string #}
{%- set f = items_fieldlist.field(name=index) -%}
{%- if f.error %}