{% extends "box.html" %} {% block box_content %} {% import "widgets/statistics.html" as statistics %} {% import "widgets/status.html" as status %} {% import "widgets/form.html" as form %} {% set init_params={} %} {% set field_group=MODEL._meta.field_groups[PARAMS['group_name']] %} {% set ID=uuid4()|jsvar %} {% if CONCRETE_MODEL %} {% set CURRENT_MODEL = CONCRETE_MODEL %} {% else %} {% set CURRENT_MODEL = MODEL %} {% endif %} {% macro statistics_status() -%} {% set StorableFieldList =[] %} {% for field in field_group.fields if field.type_name == 'StorableField' %} {% if not StorableFieldList.append(field) %} {% endif %} {% endfor %} {% if StorableFieldList %}