temporary-indexing-app/templates/index.html

29 lines
637 B
HTML
Raw Normal View History

2021-12-06 10:18:50 +01:00
<!DOCTYPE html>
<html>
2021-12-06 10:43:13 +01:00
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>THIS IS A TITLE</title>
</head>
<body>
2021-12-06 10:57:59 +01:00
<form method="POST" action="/upload" enctype="multipart/form-data">
2021-12-06 11:17:33 +01:00
{{ upload_form.csrf_token }}
{{ upload_form.metadata }}
{{ upload_form.title }}
2021-12-06 10:43:13 +01:00
<input type="submit" value="Go" />
</form>
2021-12-06 10:57:59 +01:00
2021-12-06 11:14:56 +01:00
{% if upload_form.metadata.errors %}
2021-12-06 10:57:59 +01:00
<ul class="errors">
2021-12-06 11:14:56 +01:00
{% for error in upload_form.metadata.errors %}
2021-12-06 10:57:59 +01:00
<li>{{ error }}</li>
{% endfor %}
</ul>
{% endif %}
2021-12-06 11:10:58 +01:00
</form>
2021-12-06 10:43:13 +01:00
</body>
</html>