{% extends "admin/base_site.html" %} {% load i18n admin_urls static admin_modify %} {% block extrahead %}{{ block.super }} {% endblock %} {% block extrastyle %}{{ block.super }}{% endblock %} {% block coltype %}colM{% endblock %} {% block bodyclass %}{{ block.super }} app-{{ opts.app_label }} model-{{ opts.model_name }} change-form{% endblock %} {% block breadcrumbs %} {% endblock %} {% block content %}
{% csrf_token %}{% block form_top %}{% endblock %}
{% if errors %}

{% blocktranslate count counter=errors|length %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktranslate %}

{{ adminform.form.non_field_errors }} {% endif %}
Note: Fake incidents are mainly used for testing. The fields in this form can be customized. If not customized the fields "description" and "level" will be filled randomly. "stateful" will be true by default and the tags "location=argus", "object={incident.id}" and "problem_type=test" will be added to each fake incident. "metadata" will be an empty dictionary. All other fields of the incident will be filled with random data as well.
{% block field_sets %} {% for fieldset in adminform %} {% include "admin/includes/fieldset.html" %} {% endfor %} {% endblock %} {% block after_field_sets %}{% endblock %} {% block after_related_objects %}{% endblock %} {% block submit_buttons_bottom %}
{% endblock %} {% block admin_change_form_document_ready %} {% endblock %} {# JavaScript for prepopulated fields #} {% prepopulated_fields_js %}
{% endblock %}