revert des ajouts pour DisplayName des buckets
This commit is contained in:
parent
b61d532a1f
commit
018e774752
2 changed files with 2 additions and 3 deletions
|
@ -12,8 +12,8 @@
|
||||||
<form class="form adminUploadForm" action="/admin/documents/upload" method="post" enctype="multipart/form-data">
|
<form class="form adminUploadForm" action="/admin/documents/upload" method="post" enctype="multipart/form-data">
|
||||||
<label class="formLabel" for="bucket">Type de document:</label>
|
<label class="formLabel" for="bucket">Type de document:</label>
|
||||||
<select class="formSelect" name="bucket" id="bucket">
|
<select class="formSelect" name="bucket" id="bucket">
|
||||||
{{ range .Buckets }}
|
<option class="formOption" value="proces-verbaux">Procès verbaux</option>
|
||||||
<option class="formOption" value="{{ .Name }}">{{ .DisplayName }}</option>
|
<option class="formOption" value="politiques-et-reglements">Politiques et Règlements</option>
|
||||||
</select>
|
</select>
|
||||||
<br>
|
<br>
|
||||||
Document: <input class="formDocUpload" type="file" name="document">
|
Document: <input class="formDocUpload" type="file" name="document">
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
<p>
|
<p>
|
||||||
{{ range . }}
|
{{ range . }}
|
||||||
{{ $bucket_name := .Name }}
|
{{ $bucket_name := .Name }}
|
||||||
{{ $bucket_display_name := .DisplayName }}
|
|
||||||
<details>
|
<details>
|
||||||
<summary>{{ $bucket_name }}</summary>
|
<summary>{{ $bucket_name }}</summary>
|
||||||
<ul>
|
<ul>
|
||||||
|
|
Loading…
Reference in a new issue