{% extends "admin/base_site.html" %} {% load i18n admin_urls static admin_modify %} {% block extrahead %} {{ block.super }} {% endblock extrahead %} {% block extrastyle %} {{ block.super }} {% endblock extrastyle %} {% block coltype %} colM {% endblock coltype %} {% block bodyclass %} {{ block.super }} app-{{ opts.app_label }} model-{{ opts.model_name }} change-form {% endblock bodyclass %} {% block breadcrumbs %} {% endblock breadcrumbs %} {% block content %}
{% csrf_token %} {% block form_top %} {% endblock form_top %}
{% 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 field_sets %} {% block after_field_sets %} {% endblock after_field_sets %} {% block after_related_objects %} {% endblock after_related_objects %} {% block submit_buttons_bottom %}
{% endblock submit_buttons_bottom %} {% block admin_change_form_document_ready %} {% endblock admin_change_form_document_ready %} {# JavaScript for prepopulated fields #} {% prepopulated_fields_js %}
{% endblock content %}