From 989b3bf9259b06ed3542d16a81712635ef492c33 Mon Sep 17 00:00:00 2001 From: MR Lemon Date: Fri, 1 May 2020 17:30:48 +0100 Subject: started to put in an inlineformset! --- .../organisations/org_create_formset.html | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 ctrack/organisations/templates/organisations/org_create_formset.html (limited to 'ctrack/organisations/templates') diff --git a/ctrack/organisations/templates/organisations/org_create_formset.html b/ctrack/organisations/templates/organisations/org_create_formset.html new file mode 100644 index 0000000..4b5c3c2 --- /dev/null +++ b/ctrack/organisations/templates/organisations/org_create_formset.html @@ -0,0 +1,27 @@ +{% extends "base.html" %} + +{% block title %} + Create a new Organisation +{% endblock title %} + +{% load crispy_forms_tags %} + +{% block content %} + +
+
+
+
+ {{ formset.management_form }} + {% for form in formset %} + {% crispy form %} + {% endfor %} +
+
+
+
+ +{% endblock %} + + + -- cgit v1.2.3