django-helpdesk/helpdesk/templates/helpdesk/public_create_ticket.html
bbe 4ee74e6667 Better public create ticket form with the initialization of the datepicker for due date as a media.
Reformat code to improve readability.
Add an include to get an alert when there are errors in a form.
2020-10-23 16:23:47 +02:00

27 lines
745 B
HTML

{% extends "helpdesk/public_base.html" %}
{% load i18n %}
{% block helpdesk_title %}{% trans "Create Ticket" %}{% endblock %}
{% block helpdesk_breadcrumb %}
<li class="breadcrumb-item">
<a href="{% url 'helpdesk:home' %}">Public</a>
</li>
<li class="breadcrumb-item active">Create Ticket</li>
{% endblock %}
{% block helpdesk_body %}
<div class="container">
<div class="card card-register mx-auto mt-5">
<div class="card-header">{% trans "Submit a Ticket" %}</div>
<div class="card-body">
{% include 'helpdesk/public_create_ticket_base.html' %}
</div>
</div>
</div>
{% endblock %}
{% block helpdesk_js %}
{{ form.media.js }}
{% endblock %}