WIP: Connecter /admin/documents/upload à handleV1DocumentCreate
This commit is contained in:
parent
fd3eebb68c
commit
07005c8753
3 changed files with 188 additions and 8 deletions
|
@ -9,6 +9,19 @@
|
|||
<body>
|
||||
{{ template "header-html" }}
|
||||
<h1>Upload</h1>
|
||||
<form action="/admin/documents/upload" method="post" enctype="multipart/form-data">
|
||||
<label for="bucket">Type de document:</label>
|
||||
|
||||
<select name="bucket" id="bucket">
|
||||
<option value="proces-verbaux">Procès verbaux</option>
|
||||
<option value="politiques-et-reglements">Politiques et Règlements</option>
|
||||
</select>
|
||||
<br>
|
||||
Document: <input type="file" name="document">
|
||||
<br>
|
||||
<br>
|
||||
<input type="submit" value="Submit">
|
||||
</form>
|
||||
<p>{{ .Message }}</p>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue