Mind-Fuck/multipart-form/templates/index.mustache
2023-11-09 21:37:39 -05:00

18 lines
386 B
Plaintext

<!DOCTYPE html>
<html>
<head>
<title>{{title}}</title>
</head>
<body>
<h1>{{title}}</h1>
<form method="post" enctype="multipart/form-data">
<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>