diff options
author | Michael Elkins <melkins@tislabs.com> | 2013-03-05 00:17:09 +0000 |
---|---|---|
committer | Michael Elkins <melkins@tislabs.com> | 2013-03-05 00:17:09 +0000 |
commit | 39c4a987c530a26aa7c4fb7dfb4065c94aba158d (patch) | |
tree | 94967e852d07fc9bef243339328d1432ea1b14d0 | |
parent | 50386a567a5843a45595b89fcbe735acf4b16f68 (diff) |
need enctype="multipart/form-data" when uploading files in a form
closes #392
svn path=/trunk/; revision=5105
-rw-r--r-- | rpkid/rpki/gui/app/templates/app/app_form.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpkid/rpki/gui/app/templates/app/app_form.html b/rpkid/rpki/gui/app/templates/app/app_form.html index c2c58ae6..71aaf086 100644 --- a/rpkid/rpki/gui/app/templates/app/app_form.html +++ b/rpkid/rpki/gui/app/templates/app/app_form.html @@ -5,7 +5,7 @@ <h1>{{ form_title }}</h1> </div> -<form method="POST" action="" class="form-horizontal"> +<form method="POST" action="" enctype="multipart/form-data" class="form-horizontal"> {% csrf_token %} {% include "app/bootstrap_form.html" %} <div class="form-actions"> |