{% extends "forms/form.html" %}
{% load exfiltry %}
{% load exsyntax %}
{% block all %}
{% with table_type='datatable' %}
{% templatetag openvariable %} block.super {% templatetag closevariable %}
{% endwith %}
{% endblock %}
{% block scroll %}
{% endblock %}
{% block list_content_actions %}
{% new_row "<>" %}
{% list_action "<>" "<>" %}
{% endblock %}
{% block list_row_header %}
{% for field in template.get_table_fields %}th...{{field.description}}
{% endfor %}
{% endblock %}
{% block list_row %}
{% for field in template.get_table_fields %}td...{% templatetag openvariable %} object.{{field.name}} {% templatetag closevariable %}
{% endfor %}
{% endblock %}
{% block list_row_actions %}
{% row_actions %}
edit
delete
{% for field_name in template.get_table_rel_fields %}.field_list/{{field_name}},<
{% endfor %}{% for field_name in template.get_edit_table_fields %}.field_edit/{{field_name}},
{% endfor %}.<>,<>
{% endrow_actions %}
{% endblock %}
{% block row_edit %}
{% form %}
{% for field in template.get_table_fields %}{{field.name}}{% if not forloop.last %},{% endif %}{% endfor %}
{% endform %}
{% endblock %}