You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
996 B
HTML
36 lines
996 B
HTML
3 years ago
|
{% load i18n %}
|
||
|
|
||
|
{% block head %}
|
||
|
{{ form.media }}
|
||
|
{% endblock %}
|
||
|
|
||
|
{% block body %}
|
||
3 years ago
|
<div class="container">
|
||
3 years ago
|
<h4>
|
||
|
{{ form.form_title }}
|
||
|
</h4>
|
||
|
{% if form.form_caption is not None %}
|
||
3 years ago
|
<small>
|
||
3 years ago
|
{{ form.form_caption }}
|
||
3 years ago
|
</small>
|
||
3 years ago
|
{% endif %}
|
||
|
<form method="post" action="{{ form.action_url }}">
|
||
|
{% csrf_token %}
|
||
3 years ago
|
{% include 'table/generic_table_form_body.html' %}
|
||
3 years ago
|
<div class="row">
|
||
3 years ago
|
<div class="col-md">
|
||
3 years ago
|
<a href="{{ form.cancel_redirect }}">
|
||
3 years ago
|
<button class="btn btn-default" type="button" title="{% trans 'Cancel' %}">{% trans 'Cancel' %}</button>
|
||
3 years ago
|
</a>
|
||
|
</div>
|
||
3 years ago
|
<div class="col-md d-flex justify-content-end">
|
||
|
<button class="btn btn-default" type="submit" title="{% trans 'Save' %}">{% trans 'Save' %}</button>
|
||
3 years ago
|
</div>
|
||
|
</div>
|
||
|
</form>
|
||
|
</div>
|
||
|
{% endblock %}
|
||
|
|
||
|
{% block footer %}
|
||
|
{{ form.media }}
|
||
|
{% endblock %}
|