{% load form_extras %}
{{condition_group.type_as_str}}
{% if condition_group.condition_group %} {% endif %}
{% if condition_group.children %}
{% for child in condition_group.children %} {% if child.condition %} {% else %} {% endif %} {% endfor %}
{{child.condition.label_as_str}}  {{child.condition.criteria_as_str}}  {{child.condition.value}}
{% include "components/grid_condition_group.html" with condition_group=child.condition_group %}
{% endif %}