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

28 lines
766 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.pdf }}
<input type="submit" value="Go" />
</form>
{% if upload_form.pdf.errors %}
<ul class="errors">
{% for error in upload_form.pdf.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>