2008-05-07 11:04:18 +02:00
|
|
|
{% extends "helpdesk/base.html" %}{% load i18n %}
|
2008-04-17 07:46:55 +02:00
|
|
|
|
2008-05-07 11:04:18 +02:00
|
|
|
{% block helpdesk_title %}{% trans "Create Ticket" %}{% endblock %}
|
2008-04-17 07:46:55 +02:00
|
|
|
|
2007-12-27 01:29:17 +01:00
|
|
|
{% block helpdesk_body %}
|
2008-05-07 11:04:18 +02:00
|
|
|
{% blocktrans %}<h2>Submit a Ticket</h2>
|
2007-12-27 01:29:17 +01:00
|
|
|
|
2008-05-07 11:04:18 +02:00
|
|
|
<p>Unless otherwise stated, all fields are required. Please provide as descriptive a title and description as possible.</p>{% endblocktrans %}
|
2008-01-15 00:39:43 +01:00
|
|
|
|
2007-12-27 01:29:17 +01:00
|
|
|
<form method='post' action='./'>
|
|
|
|
<fieldset>
|
|
|
|
<dl>
|
|
|
|
<dt><label for='id_queue'>{{ form.queue.label }}</label></dt>
|
|
|
|
<dd>{{ form.queue }}</dd>
|
2008-04-17 07:46:55 +02:00
|
|
|
{% if form.queue.errors %}<dd class='error'>{{ form.queue.errors }}</dd>{% endif %}
|
2007-12-27 01:29:17 +01:00
|
|
|
|
|
|
|
<dt><label for='id_title'>{{ form.title.label }}</label></dt>
|
|
|
|
<dd>{{ form.title }}</dd>
|
2008-04-17 07:46:55 +02:00
|
|
|
{% if form.title.errors %}<dd class='error'>{{ form.title.errors }}</dd>{% endif %}
|
2007-12-27 01:29:17 +01:00
|
|
|
|
2008-05-07 11:04:18 +02:00
|
|
|
<dt><label for='id_submitter_email'>{{ form.submitter_email.label }}</label> <span class='form_optional'>{% trans "(Optional)" %}</span></dt>
|
2007-12-27 01:29:17 +01:00
|
|
|
<dd>{{ form.submitter_email }}</dd>
|
2008-04-17 07:46:55 +02:00
|
|
|
{% if form.submitter_email.errors %}<dd class='error'>{{ form.submitter_email.errors }}</dd>{% endif %}
|
2008-01-15 00:39:43 +01:00
|
|
|
<dd class='form_help_text'>{{ form.submitter_email.help_text }}</dd>
|
2007-12-27 01:29:17 +01:00
|
|
|
|
|
|
|
<dt><label for='id_body'>{{ form.body.label }}</label></dt>
|
|
|
|
<dd>{{ form.body }}</dd>
|
2008-04-17 07:46:55 +02:00
|
|
|
{% if form.body.errors %}<dd class='error'>{{ form.body.errors }}</dd>{% endif %}
|
2007-12-27 01:29:17 +01:00
|
|
|
|
2008-05-07 11:04:18 +02:00
|
|
|
<dt><label for='id_assigned_to'>{{ form.assigned_to.label }}</label> <span class='form_optional'>{% trans "(Optional)" %}</span></dt>
|
2007-12-27 01:29:17 +01:00
|
|
|
<dd>{{ form.assigned_to }}</dd>
|
2008-04-17 07:46:55 +02:00
|
|
|
{% if form.assigned_to.errors %}<dd class='error'>{{ form.assigned_to.errors }}</dd>{% endif %}
|
2008-01-15 00:39:43 +01:00
|
|
|
<dd class='form_help_text'>{{ form.assigned_to.help_text }}</dd>
|
2008-01-10 06:06:47 +01:00
|
|
|
|
|
|
|
<dt><label for='id_priority'>{{ form.priority.label }}</label></dt>
|
|
|
|
<dd>{{ form.priority }}</dd>
|
2008-04-17 07:46:55 +02:00
|
|
|
{% if form.priority.errors %}<dd class='error'>{{ form.priority.errors }}</dd>{% endif %}
|
2008-01-15 00:39:43 +01:00
|
|
|
<dd class='form_help_text'>{{ form.priority.help_text }}</dd>
|
2007-12-27 01:29:17 +01:00
|
|
|
</dl>
|
|
|
|
|
|
|
|
<div class='buttons'>
|
2008-05-07 11:04:18 +02:00
|
|
|
<input type='submit' value='{% trans "Submit Ticket" %}' />
|
2007-12-27 01:29:17 +01:00
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
|
|
|
|
</form>
|
|
|
|
{% endblock %}
|