aboutsummaryrefslogtreecommitdiff
path: root/app/dispatch/templates
diff options
context:
space:
mode:
authorMitch Riedstra <Mitch@riedstra.us>2017-10-12 13:25:41 -0400
committerMitch Riedstra <Mitch@riedstra.us>2017-10-12 13:25:41 -0400
commit07449eb28457c2d817c4839e4e2b989746f09347 (patch)
tree5f84ddbd76129231181a10d3efd8913d93f1b416 /app/dispatch/templates
parent7e4586e4f9d1a00be0a546b490ebfd09d0b8b307 (diff)
downloaddispatch-tracker-07449eb28457c2d817c4839e4e2b989746f09347.tar.gz
dispatch-tracker-07449eb28457c2d817c4839e4e2b989746f09347.tar.xz
Uploads work--but they need work
Diffstat (limited to 'app/dispatch/templates')
-rw-r--r--app/dispatch/templates/dispatch/paperwork/add.html9
1 files changed, 6 insertions, 3 deletions
diff --git a/app/dispatch/templates/dispatch/paperwork/add.html b/app/dispatch/templates/dispatch/paperwork/add.html
index 98c51cf..107c905 100644
--- a/app/dispatch/templates/dispatch/paperwork/add.html
+++ b/app/dispatch/templates/dispatch/paperwork/add.html
@@ -11,10 +11,13 @@
fuck
-{{load}}
-{{form}}
-<form action="" method="post">{% csrf_token %}
+{% if form.errors %}
+{{form.errors}}
+{% endif %}
+
+
+<form action="" method="post" enctype="multipart/form-data">{% csrf_token %}
{{ form.as_p }}
<input type="submit" class="btn blue" value="Update" />
</form>