This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
2019-02-16 09:24:31 +00:00
|
|
|
{% extends 'generic/form.html' %}
|
|
|
|
|
|
|
|
{% load i18n %}
|
|
|
|
|
|
|
|
{% block above_form %}
|
|
|
|
<h1>{% blocktrans with policy=policy %}Test policy {{ policy }}{% endblocktrans %}</h1>
|
|
|
|
{% endblock %}
|
2019-03-10 14:36:49 +00:00
|
|
|
|
|
|
|
{% block action %}
|
|
|
|
{% trans 'Test' %}
|
|
|
|
{% endblock %}
|
2019-03-10 14:46:49 +00:00
|
|
|
|
|
|
|
{% block beneath_form %}
|
|
|
|
<p class="loading" style="display: none;">
|
|
|
|
<span class="spinner spinner-xs spinner-inline"></span> {% trans 'Processing, please wait...' %}
|
|
|
|
</p>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block scripts %}
|
|
|
|
{{ block.super }}
|
|
|
|
<script>
|
|
|
|
$('form').on('submit', function () {
|
|
|
|
$('p.loading').show();
|
|
|
|
})
|
|
|
|
</script>
|
|
|
|
{% endblock %}
|