summaryrefslogtreecommitdiffstats
path: root/combo/apps/lingo/templates/lingo/paymentbackend_form.html
diff options
context:
space:
mode:
Diffstat (limited to 'combo/apps/lingo/templates/lingo/paymentbackend_form.html')
-rw-r--r--combo/apps/lingo/templates/lingo/paymentbackend_form.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/combo/apps/lingo/templates/lingo/paymentbackend_form.html b/combo/apps/lingo/templates/lingo/paymentbackend_form.html
new file mode 100644
index 0000000..41ea23c
--- /dev/null
+++ b/combo/apps/lingo/templates/lingo/paymentbackend_form.html
@@ -0,0 +1,22 @@
+{% extends "lingo/paymentbackend_list.html" %}
+{% load i18n %}
+
+{% block appbar %}
+{% if object.id %}
+<h2>{% trans "Edit Payment backend" %}</h2>
+{% else %}
+<h2>{% trans "New Payment backend" %}</h2>
+{% endif %}
+{% endblock %}
+
+{% block content %}
+
+<form method="post" enctype="multipart/form-data">
+ {% csrf_token %}
+ {{ form.as_p }}
+ <div class="buttons">
+ <button class="submit-button">{% trans "Save" %}</button>
+ <a class="cancel" href="{% url 'lingo-manager-paymentbackend-list' %}">{% trans 'Cancel' %}</a>
+ </div>
+</form>
+{% endblock %}