blob: f8ab213feaea5a83be9918f72a13f8eb6353e8a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
{% extends "base.html" %}Q
{% load i18n %}
{% block extra_head %}
{{search_form.media}}
{{ template_form.media }}
{% endblock %}
{% block content %}
{% if template_form.non_field_errors %}
<div class="alert alert-warning alert-dismissible fade show" role="alert">
{{template_form.non_field_errors}}
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
{% endif %}
<h2>{% trans "Document generation" %}</h2>
<form action="." class='wizard-form' id="wizard-form" method="post" name='wizard'>{% csrf_token %}
<div class='form search'>
{{ search_form.as_p }}
</div>
{% endblock %}
{% block footer %}
<div id="footer">
<div class="confirm-message row justify-content-center">
<div class="col-2">
<label>{{template_form.document_template.label}}</label>
</div>
<div class="col-4">
{{template_form.document_template}}
</div>
<div class="col-2">
<button type="submit" id="submit_form" name='validate' class="btn btn-success">
{% trans "Generate" %}
</button>
</div>
</div>
{% include 'ishtar/blocks/footer.html' %}
</div>
</form>
{% endblock %}
|