mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-12-02 12:53:20 +01:00
34 lines
1.3 KiB
HTML
34 lines
1.3 KiB
HTML
{% extends "helpdesk/base.html" %}{% load i18n %}
|
|
|
|
{% block helpdesk_title %}{% trans "Edit Ticket" %}{% endblock %}
|
|
|
|
{% block helpdesk_body %}
|
|
{% blocktrans %}<h2>Edit a Ticket</h2>
|
|
|
|
<p>Unless otherwise stated, all fields are required. Please provide as descriptive a title and description as possible.</p>
|
|
|
|
<p><strong>Note:</strong> Editing a ticket does <em>not</em> send an e-mail to the ticket owner or submitter. No new details should be entered, this form should only be used to fix incorrect details or clean up the submission.</p>{% endblocktrans %}
|
|
|
|
<form method='post' action='./'>
|
|
<fieldset>
|
|
<dl>
|
|
{% for field in form %}
|
|
{% if field.is_hidden %}
|
|
{{ field }}
|
|
{% else %}
|
|
<dt><label for='id_{{ field.name }}'>{{ field.label }}</label>{% if not field.field.required %} <span class='form_optional'>{% trans "(Optional)" %}</span>{% endif %}</dt>
|
|
<dd>{{ field }}</dd>
|
|
{% if field.errors %}<dd class='error'>{{ field.errors }}</dd>{% endif %}
|
|
{% if field.help_text %}<dd class='form_help_text'>{{ field.help_text }}</dd>{% endif %}</label>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</dl>
|
|
|
|
<div class='buttons'>
|
|
<input type='submit' value='{% trans "Save Changes" %}' />
|
|
</div>
|
|
</fieldset>
|
|
|
|
</form>
|
|
{% endblock %}
|