From 63b0fc6269b38edf7234b9f151b80d81f614c0a3 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Tue, 4 Aug 2015 10:11:24 +0300 Subject: Initial commit First public commit --- servo/templates/admin/checklist/form.html | 31 ++++++++++++++++++++++++++++++ servo/templates/admin/checklist/index.html | 6 ++++++ 2 files changed, 37 insertions(+) create mode 100644 servo/templates/admin/checklist/form.html create mode 100644 servo/templates/admin/checklist/index.html (limited to 'servo/templates/admin/checklist') diff --git a/servo/templates/admin/checklist/form.html b/servo/templates/admin/checklist/form.html new file mode 100644 index 0000000..3b44576 --- /dev/null +++ b/servo/templates/admin/checklist/form.html @@ -0,0 +1,31 @@ +{% extends "admin/checklist/index.html" %} +{% load i18n %} + +{% block third_column %} +
+ {% csrf_token %} + {{ formset.management_form }} + +
+
+ {% include "form_snippet.html" %} +
+
+ {% for f in formset %} + {% include "form_snippet.html" with form=f %} + {% endfor %} +
+
+
+ {% if checklist.pk %} + {% trans "Delete" %} + {% else %} + {% trans "Delete" %} + {% endif %} + +
+
+{% endblock third_column %} diff --git a/servo/templates/admin/checklist/index.html b/servo/templates/admin/checklist/index.html new file mode 100644 index 0000000..f4a2820 --- /dev/null +++ b/servo/templates/admin/checklist/index.html @@ -0,0 +1,6 @@ +{% extends "generic/admin_list.html" %} +{% load i18n %} + +{% block toolbar %} + {% trans "New Checklist" %} +{% endblock toolbar %} -- cgit v1.2.3