2019-08-10 17:00:16 +00:00
|
|
|
{% extends "base.html" %}
|
2019-07-17 11:53:58 +00:00
|
|
|
{% comment %}
|
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
{% endcomment %}
|
|
|
|
|
|
|
|
{% load i18n static %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<form method="post" onsubmit="window.onbeforeunload=null">{% csrf_token %}
|
|
|
|
{% if form.non_field_errors %}
|
|
|
|
<p class="errornote">
|
|
|
|
{% for error in form.non_field_errors %}
|
|
|
|
{{ error }}
|
|
|
|
{% endfor %}
|
|
|
|
</p>
|
|
|
|
{% endif %}
|
|
|
|
<fieldset class="module aligned">
|
|
|
|
{% for field in form %}
|
|
|
|
<div class="form-row{% if field.errors %} errors{% endif %}">
|
|
|
|
{{ field.errors }}
|
|
|
|
<div>
|
|
|
|
{{ field.label_tag }}
|
|
|
|
{% if field.is_readonly %}
|
|
|
|
<div class="readonly">{{ field.contents }}</div>
|
|
|
|
{% else %}
|
|
|
|
{{ field }}
|
|
|
|
{% endif %}
|
|
|
|
{% if field.field.help_text %}
|
|
|
|
<div class="help">{{ field.field.help_text|safe }}</div>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</fieldset>
|
|
|
|
<input type="submit" value="{% trans 'Transfer' %}">
|
|
|
|
</form>
|
2019-08-10 17:00:16 +00:00
|
|
|
{% endblock %}
|