{% load crispy_forms_field get urlbuilder call %} {% for field in table.table.table_sequence %} {% with table.table.table_columns|get:field as col %} {% spaceless %} {% if forloop.first %} {% for hidden_field in row_form.hidden_fields %} {{ hidden_field }} {% endfor %} {{ row_form.non_field_errors }} {% endif %} {% if col.editable %} {% with row_form|get:col.field as row_form_field %}
{% if row_form_field.errors %} {% endif %} {% crispy_field row_form_field %}
{% endwith %} {% else %} {% if col.is_linked %} {% call col get_url request as url %} {% endif %} {% call col value obj %} {% if col.is_linked %} {% endif %} {% endif %} {% endspaceless %} {% endwith %} {% endfor %}