Private
Public Access
1
0
Files
rowsandall/no_templates/document_form.html~
sanderroosendaal 3eed3cc3e7 Uploading files
2016-10-30 17:39:32 +01:00

22 lines
524 B
HTML

{% extends "base.html" %}
{% load staticfiles %}
{% block title %}File loading{% endblock %}
{% block content %}
<h1>File Upload</h1>
{% if form.errors %}
<p style="color: red;">
Please correct the error{{ form.errors|pluralize }} below.
</p>
{% endif %}
<form enctype="multipart/form-data" action="{{ formloc }}" method="post">
<table>
{{ form.as_table }}
</table>
{% csrf_token %}
<input type="submit" value="Submit">
{% endblock %}