forked from extern/django-helpdesk
4ee74e6667
Reformat code to improve readability. Add an include to get an alert when there are errors in a form.
27 lines
745 B
HTML
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 %}
|