{% load django_listing %} {% csrf_token %} {% gethiddens_listing listing %} {% block hiddens %} {% for hidden in listing.form_input_hiddens %} {% endfor %} {% endblock %} {% with listing_form.get_form as form %} {% if form.non_field_errors %} {% endif %} {% for row in listing_form.layout %}
{% for field_name in row %} {% get_form_field form field_name as field %} {% if field %}
{% if field.errors %} {{ field.errors }}{% endif %}
{{ field.label_tag }}{% if field.field.required %}*{% endif %} {{ field }}
{% if ending %}{{ ending }}{% endif %} {% if field.help_text %}

{{ field.help_text|safe }}

{% endif %}
{% endif %} {% endfor %}
{% endfor %}
{% for button in listing_form.buttons %} {% if button == 'reset' %} {% if listing_form.reset_label %} {% endif %} {% elif button == 'submit' %} {% if listing_form.submit_label %} {% endif %} {% endif %} {% endfor %}
{% endwith %}