agecem-org/templates/html/admin-upload.gohtml

28 lines
985 B
Text
Raw Normal View History

{{ define "admin-upload-html" }}
2023-08-15 14:30:10 -04:00
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8">
<title>AGECEM</title>
{{ template "general-html" }}
</head>
<body>
{{ template "header-html" }}
<h1 class="heading1">Upload</h1>
<form class="form adminUploadForm" action="/admin/documents/upload" method="post" enctype="multipart/form-data">
<label class="formLabel" for="bucket">Type de document:</label>
<select class="formSelect" name="bucket" id="bucket">
2023-08-15 14:30:10 -04:00
<option class="formOption" value="proces-verbaux">Procès verbaux</option>
<option class="formOption" value="politiques-et-reglements">Politiques et Règlements</option>
</select>
<br>
Document: <input class="formDocUpload" type="file" name="document">
<br>
<br>
<input class="formSubmit" type="submit" value="Submit">
2023-08-15 14:30:10 -04:00
</form>
<p>{{ .Message }}</p>
</body>
</html>
{{ end }}