{% load split %} {% if kpi_n %}
{% csrf_token %} {% endif %}
{% with kpitype.0|split:"__" as kpi_type %} {% if kpi_type.0 == 'imbalance' %} {% include 'kpi_editor_imbalance.html' %} {% elif kpi_type.0 == 'job_trail' %} {% include 'kpi_editor_quantiles.html' %} {% elif kpi_type.0 == 'trail' %} {% include 'kpi_editor_trail.html' %} {% elif kpi_type.0 == 'monitoring' %} {% include 'kpi_editor_monitoring.html' %} {% elif kpi_type.0 == 'trail_time' %} {% include 'kpi_editor_trail_time.html' %} {% elif kpi_type.0 == 'trail_net' %} {% include 'kpi_editor_trail_net.html' %} {% elif kpi_type.0 == 'trail_resp' %} {% include 'kpi_editor_trail_resp.html' %} {% endif %} {% endwith %}
{% if kpi_n %} {% endif %}

{% if kpi_n %}
{% endif %}