diff options
author | hardythe1 | 2013-10-23 14:46:52 +0530 |
---|---|---|
committer | hardythe1 | 2013-10-23 14:46:52 +0530 |
commit | 22e294c1c8012f14ba5676d9d9713dda4cb1c4e2 (patch) | |
tree | 71929c1919be50bda57003a080e7331f1aee688e /scipy/templates/upload-document.html | |
parent | 19de0db273bf277a0149b7857bd39229e91d8d72 (diff) | |
download | SciPy2013-22e294c1c8012f14ba5676d9d9713dda4cb1c4e2.tar.gz SciPy2013-22e294c1c8012f14ba5676d9d9713dda4cb1c4e2.tar.bz2 SciPy2013-22e294c1c8012f14ba5676d9d9713dda4cb1c4e2.zip |
will now accept pdf, txt, doc or docs only
Diffstat (limited to 'scipy/templates/upload-document.html')
-rw-r--r-- | scipy/templates/upload-document.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scipy/templates/upload-document.html b/scipy/templates/upload-document.html index 8f8f1e8..172c3fa 100644 --- a/scipy/templates/upload-document.html +++ b/scipy/templates/upload-document.html @@ -8,10 +8,17 @@ {% endblock %} {% block content %} + <div class="large-6 large-centered columns"> <form class="form-signin" action="/2013/accounts/upload-document/" method="POST" enctype="multipart/form-data"> {% csrf_token %} <h3 class="form-signin-heading">Submit Proposal</h3> {{ form }} + {% if invalid_file %} + <div data-alert class="alert-box alert"> + <span>{{ invalid_file }}</span> + <a href="#" class="close">×</a> + </div> + {% endif %} <input type="hidden" name = "next" value="{{ next }}"> <button class="success expand" type="submit">Submit</button> </form> |