{% extends "generic/object_edit.html" %} {% load static %} {% load form_helpers %} {% block form_errors %} {% if form.non_field_errors %}
Errors
{{ form.non_field_errors }} {% for child in children.forms %} {% if child.errors %} {% for error in child.errors.values %}{{ error }}{% endfor %} {% endif %} {% endfor %}
{% endif %} {% endblock %} {% block form %}
Dynamic Group
{% render_field form.name %} {% render_field form.slug %} {% render_field form.description %} {% render_field form.content_type %}
Filter Options
{% if filter_form %} Select the filtering criteria to determine membership of objects matching the Content Type for this Dynamic Group. Fields that are not a dropdown are expected to have string inputs and do not support multiple values.
Object Fields
{% render_form filter_form %}
{% if filter_form.custom_fields %}
Custom Fields
{% render_custom_fields filter_form %}
{% endif %} {% if filter_form.relationships %}
Relationships
{% render_relationships filter_form %}
{% endif %} {% else %} Filtering criteria will be available after initially saving this group and returning to this page. {% endif %}
{% if children.errors %}
Errors
Please correct the error(s) below: {% for child in children.forms %} {% if child.errors %} {% for error in child.errors.values %}{{ error }}{% endfor %} {% endif %} {% endfor %}
{% endif %} {{ children.non_field_errors }}
{{ children.management_form }} {% for child_form in children.forms %} {% if forloop.first %} {% for field in child_form.visible_fields %} {% endfor %} {% endif %} {% for field in child_form.visible_fields %} {% endfor %} {% endfor %}
Weight{{ field.label|capfirst }}
{% if forloop.first %} {% for hidden in child_form.hidden_fields %} {{ hidden }} {% endfor %} {% endif %} {{ field }} {% if field.errors %}
    {% for error in field.errors %} {# Embed an HTML comment indicating the error for extraction by tests #}
  • {{ error }}
  • {% endfor %}
{% endif %}
{% include 'inc/extras_features_edit_form_fields.html' %} {% endblock form %} {% block javascript %} {{ block.super }} {% endblock javascript %}