{% extends "pretixcontrol/event/base.html" %} {% comment %} Owner from wave 1 on: persistence-dev (see ORCHESTRIERUNG.md section 5). The JSON textarea is on purpose: this is the storage form, the graphical editor is frontend-dev's editor*.html. Both post into the same model, so both get the same structural validation. {% endcomment %} {% load i18n %} {% load bootstrap3 %} {% block title %} {% if form.instance.pk %}{% trans "Change report" %}{% else %}{% trans "Create report" %}{% endif %} {% endblock %} {% block content %}

{% if form.instance.pk %} {% blocktrans trimmed with name=form.instance.name %} Report: {{ name }} {% endblocktrans %} {% else %} {% trans "Create a new report" %} {% endif %}

{% csrf_token %} {% bootstrap_form_errors form %} {% bootstrap_field form.name layout="horizontal" %} {% bootstrap_field form.description layout="horizontal" %} {% bootstrap_field form.identifier layout="horizontal" %} {% bootstrap_field form.base layout="horizontal" %} {% bootstrap_field form.definition layout="horizontal" %}
{% trans "Cancel" %}
{% endblock %}