temporary-indexing-app/templates/index.html
2021-12-06 11:14:56 +01:00

28 lines
781 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>THIS IS A TITLE</title>
</head>
<body>
<form method="POST" action="/upload" enctype="multipart/form-data">
{{ upload_form.csrf_token }} {{ upload_form.metadata }}
<input type="submit" value="Go" />
</form>
{% if upload_form.metadata.errors %}
<ul class="errors">
{% for error in upload_form.metadata.errors %}
<li>{{ error }}</li>
{% endfor %}
</ul>
{% endif %}
<form method="POST" action="/generate" enctype="multipart/form-data">
{{ card_sides_form.csrf_token }} {{ card_sides_form.title }}
<input type="submit" value="Go" />
</form>
</body>
</html>