{% extends 'zbx_dashboard/base.html' %} {% load i18n %} {% load pass_period %} {% load widget_tweaks %} {% block extrahead %} {% endblock %} {% block jquery %} $(".inline.{{ graph_form.prefix }}").formset({ prefix: "{{ graph_form.prefix }}", }) {% endblock %} {% block content %}
{% csrf_token %}
{% if form.title.errors %}

{{ form.title.errors.as_text }}

{% endif %} {{ form.title.label_tag }} {{ form.title|add_class:"form-control" }}
{% if form.description.errors %}

{{ form.description.errors.as_text }}

{% endif %} {{ form.description.label_tag }} {{ form.description|add_class:"form-control" }}
{% if form.groups.errors %}

{{ form.groups.errors.as_text }}

{% endif %} {{ form.groups.errors }} {{ form.groups.label_tag }} {% for checkbox in form.groups %} {% endfor %}
Graphs {{ graph_form.management_form }} {{ graph_form.non_form_errors }}
{% for form in graph_form %} {{ form.id }}
{% if form.title.errors %}

{{ form.title.errors.as_text }}

{% endif %} {{ form.title.label_tag }} {{ form.title|add_class:"form-control" }}
{% if form.graph_id.errors %}

{{ form.graph_id.errors.as_text }}

{% endif %} {{ form.graph_id.label_tag }} {{ form.graph_id|add_class:"form-control" }}
{% if form.description.errors %}

{{ form.description.errors.as_text }}

{% endif %} {{ form.description.label_tag }} {{ form.description|add_class:"form-control" }}
{% endfor %}
{% trans "Cancel" %}
{% endblock %}