From d85d0702ae0933774ad942302a632f29bacf4550 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 16 Nov 2020 11:08:14 +0100 Subject: Admin: action to add automatically department towns to an area --- ishtar_common/templates/admin/create_area_dpt.html | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 ishtar_common/templates/admin/create_area_dpt.html (limited to 'ishtar_common/templates/admin/create_area_dpt.html') diff --git a/ishtar_common/templates/admin/create_area_dpt.html b/ishtar_common/templates/admin/create_area_dpt.html new file mode 100644 index 000000000..40b6f9f48 --- /dev/null +++ b/ishtar_common/templates/admin/create_area_dpt.html @@ -0,0 +1,35 @@ +{% extends "admin/base_site.html" %}{% load i18n %} + +{% block content %} + +
+ {{form.non_fields_error}} +{% csrf_token %} + + +

+ {{ form.department_number.errors }}
+ {{ form.department_number.label_tag }} + {{ form.department_number }} +

+

+ {% trans "Create a new area"%}
+ {{ form.area_name.errors }}
+ {{ form.area_name.label_tag }} + {{ form.area_name }} +

+

+ {% trans "or update an existing area"%}
+ {{ form.area.errors }}
+ {{ form.area.label_tag }} + {{ form.area }} +

+ + +
+ +{% endblock %} -- cgit v1.2.3