22 lines
524 B
HTML
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 %}
|