diff --git a/forms.py b/forms.py index 28019056..a373eb2a 100644 --- a/forms.py +++ b/forms.py @@ -17,6 +17,11 @@ from django.utils.translation import ugettext as _ from helpdesk.lib import send_templated_mail from helpdesk.models import Ticket, Queue, FollowUp, Attachment, IgnoreEmail +class EditTicketForm(forms.ModelForm): + class Meta: + model = Ticket + exclude = ('created', 'modified', 'status', 'on_hold', 'resolution', 'last_escalation', 'assigned_to') + class TicketForm(forms.Form): queue = forms.ChoiceField( label=_('Queue'), diff --git a/templates/helpdesk/create_ticket.html b/templates/helpdesk/create_ticket.html index 911a6c09..669d7ab9 100644 --- a/templates/helpdesk/create_ticket.html +++ b/templates/helpdesk/create_ticket.html @@ -7,7 +7,7 @@
Unless otherwise stated, all fields are required. Please provide as descriptive a title and description as possible.
{% endblocktrans %} -