image_upload/templates/upload.html

21 lines
556 B
HTML
Raw Normal View History

2024-11-16 09:47:07 +01:00
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Perma-Upload a picture</title>
</head>
<body>
<form method="POST" enctype="multipart/form-data">
{{ imageuploadform.csrf_token }}
<fieldset class="fileupload-field">
{{ imageuploadform.image.label }}
{{ imageuploadform.image }}
{% for message in imageuploadform.image.errors %}
<div class="error">{{ message }}</div>
{% endfor %}
</fieldset>
{{ imageuploadform.submit }}
</form>
</body>