{% extends 'layouts/base.html' %} {% load i18n static %} {% block title %}{% if is_create %}{% trans "Create Government Ticket" %}{% else %}{% trans "Edit Government Ticket" %}{% endif %} - PX360{% endblock %} {% block extra_css %} {% endblock %} {% block content %}

{% if is_create %}{% trans "Create Government Ticket" %}{% else %}{% trans "Edit Government Ticket" %}{% endif %}

{% if is_create %}{% trans "Create a new ticket from a government source" %}{% else %}{% trans "Update ticket information" %}{% endif %}

{% csrf_token %} {% if form.non_field_errors %}
{% trans "Please correct the errors below" %}
    {% for error in form.non_field_errors %}
  • {{ error }}
  • {% endfor %}
{% endif %} {% if form.errors and not form.non_field_errors %}
{% trans "Please correct the highlighted fields below" %}
{% endif %}
{% trans "Source & Ticket Info" %}
{{ form.source }} {% if form.source.errors %}

{{ form.source.errors }}

{% endif %}
{{ form.ticket_number }} {% if form.ticket_number.errors %}

{{ form.ticket_number.errors }}

{% endif %}
{{ form.status }} {% if form.status.errors %}

{{ form.status.errors }}

{% endif %}
{{ form.received_date }} {% if form.received_date.errors %}

{{ form.received_date.errors }}

{% endif %}
{% trans "Complainant Information" %}
{{ form.complainant_name }} {% if form.complainant_name.errors %}

{{ form.complainant_name.errors }}

{% endif %}
{{ form.national_id }}
{{ form.contact_number }}
{% trans "Location & Section" %}
{% trans "Assignment" %}
{{ form.assigned_to }}
{% trans "Ticket Content" %}
{{ form.classification }} {% if form.classification.errors %}

{{ form.classification.errors }}

{% endif %}
{{ form.content }} {% if form.content.errors %}

{{ form.content.errors }}

{% endif %}
{% trans "Cancel" %}
{% endblock %}