{% extends DYFORM_BASE_TEMPLATE %} {% load static %} {% load dynaform %} {% block content %}

DynaForm Data [{{ dynaform.name }}]

{% csrf_token %} {{ form.non_field_errors }} {% for field in form.fields %}
{% if edit %} {{ form|form_field:field }}
{{ form|field_errors:field }}
{% else %} {{ form.data|get_item:field}} {% endif %}
{% endfor %}
{% if edit %} {% else %} Are you sure you want to delete this item? {% endif %} Cancel and go to list of {{dynaform.name}}.
{% endblock %}