Ajout des changements du main
This commit is contained in:
parent
5ccbee3d9d
commit
b61d532a1f
2 changed files with 3 additions and 2 deletions
|
@ -12,8 +12,8 @@
|
|||
<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">
|
||||
<option class="formOption" value="proces-verbaux">Procès verbaux</option>
|
||||
<option class="formOption" value="politiques-et-reglements">Politiques et Règlements</option>
|
||||
{{ range .Buckets }}
|
||||
<option class="formOption" value="{{ .Name }}">{{ .DisplayName }}</option>
|
||||
</select>
|
||||
<br>
|
||||
Document: <input class="formDocUpload" type="file" name="document">
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
<p>
|
||||
{{ range . }}
|
||||
{{ $bucket_name := .Name }}
|
||||
{{ $bucket_display_name := .DisplayName }}
|
||||
<details>
|
||||
<summary>{{ $bucket_name }}</summary>
|
||||
<ul>
|
||||
|
|
Loading…
Reference in a new issue