From 7e4586e4f9d1a00be0a546b490ebfd09d0b8b307 Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Wed, 11 Oct 2017 15:04:54 -0400 Subject: Misc developments and messing with file uploads --- app/dispatch/templates/dispatch/loads/create.html | 11 +++++++++++ app/dispatch/templates/dispatch/loads/edit.html | 1 + app/dispatch/templates/dispatch/paperwork/add.html | 22 ++++++++++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 app/dispatch/templates/dispatch/paperwork/add.html (limited to 'app/dispatch/templates') diff --git a/app/dispatch/templates/dispatch/loads/create.html b/app/dispatch/templates/dispatch/loads/create.html index 8d84df3..cf12440 100644 --- a/app/dispatch/templates/dispatch/loads/create.html +++ b/app/dispatch/templates/dispatch/loads/create.html @@ -13,4 +13,15 @@ {{ form.as_p }} + +
+
+
+
+ Note: You must first save the load to attach files +
+
+
+
+ {% endblock %} diff --git a/app/dispatch/templates/dispatch/loads/edit.html b/app/dispatch/templates/dispatch/loads/edit.html index 37b4bb8..f43c242 100644 --- a/app/dispatch/templates/dispatch/loads/edit.html +++ b/app/dispatch/templates/dispatch/loads/edit.html @@ -13,4 +13,5 @@ {{ form.as_p }} + {% endblock %} diff --git a/app/dispatch/templates/dispatch/paperwork/add.html b/app/dispatch/templates/dispatch/paperwork/add.html new file mode 100644 index 0000000..98c51cf --- /dev/null +++ b/app/dispatch/templates/dispatch/paperwork/add.html @@ -0,0 +1,22 @@ +{% extends 'dispatch/base.html' %} + +{% block title %}Edit - {{ object.load_number }}{% endblock %} + +{% block content %} +
+
+

{{object.name}}

+
+
+ +fuck + +{{load}} +{{form}} + +
{% csrf_token %} + {{ form.as_p }} + +
+ +{% endblock %} -- cgit v1.2.3