Mind-Fuck/multipart-form/templates/index.mustache
2023-11-10 01:33:40 -05:00

22 lines
492 B
Plaintext

<!DOCTYPE html>
<html>
<head>
<title>{{title}}</title>
</head>
<body>
<h1>{{title}}</h1>
<form method="post" enctype="multipart/form-data">
<div>
<label for="author">Author</label>
<input type="text" name="author" id="author">
</div>
<div>
<label for="file-upload">File</label>
<input type="file" name="file-upload" id="file-upload"
accept="image/jpeg, image/png, .jpeg, .jpg, .png">
</div>
<button type="submit">Upload</button>
</form>
</body>
</html>