revert des ajouts pour DisplayName des buckets

This commit is contained in:
Alexel 2023-08-16 13:26:11 -04:00
parent b61d532a1f
commit 018e774752
2 changed files with 2 additions and 3 deletions

View file

@ -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">
{{ range .Buckets }}
<option class="formOption" value="{{ .Name }}">{{ .DisplayName }}</option>
<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">

View file

@ -13,7 +13,6 @@
<p>
{{ range . }}
{{ $bucket_name := .Name }}
{{ $bucket_display_name := .DisplayName }}
<details>
<summary>{{ $bucket_name }}</summary>
<ul>