{% load django_listing %} {% csrf_token %} {% gethiddens_listing listing without="page,sort" %} {% block hiddens %} {% for name, value in listing.form_input_hiddens.items %} {% endfor %} {% endblock %} {% with attached_form.get_form as form %} {% if attached_form.display_errors and form.non_field_errors %} {% endif %}
{% for row in attached_form.dynamic_layout %}
{% for field_name in row %} {% is_str field_name as standard_field %} {% if standard_field %} {% get_form_field form field_name as field %} {% get_attachedform_col attached_form field_name as col %} {% if field %}
{% if attached_form.display_errors and field.errors %} {{ field.errors }}{% endif %}
{% if col.reverse_form_label_tag %} {{ field }}{{ field.label_tag }}{% if field.field.required %}*{% endif %} {% if not col.no_mass_op %} {% endif %} {% else %} {% if not col.no_mass_op %} {% endif %} {{ field.label_tag }}{% if field.field.required %}*{% endif %} {{ field }} {% endif %}
{% if ending %}{{ ending }}{% endif %} {% if field.help_text %}

{{ field.help_text|safe }}

{% endif %}
{% endif %} {% else %} {{ field_name }} {% endif %} {% endfor %}
{% endfor %}
{% for buttons_line in attached_form.buttons %}
{% for action,label,icon,css_class in buttons_line %} {% if action == "_" %}
{% else %} {% listing_has_permission_for_action listing action as has_button_perm %} {% listing_confirm_msg_for_action listing action as confirm_msg %} {% listing_confirm_msg_nb_items_for_action listing action as confirm_msg_nb_items %} {% endif %} {% endfor %}
{% endfor %}
{% endwith %}