fix .Data.Buckets et retrait de "Confirmation"

This commit is contained in:
Alexel 2023-10-12 16:50:39 -04:00
parent 5acb47879c
commit 42c85303e5

View file

@ -20,7 +20,7 @@
<div class="formSelectDiv">
<label class="formLabel" for="bucket">Type de document</label>
<select class="formSelect" name="bucket" id="bucket">
{{ range .Buckets }}
{{ range .Data.Buckets }}
<option class="formOption" value="{{ .Name }}">{{ .DisplayName }}</option>
{{ end }}
</select>
@ -28,7 +28,7 @@
</div>
<input class="formSubmit" type="submit" value="Ajouter le document">
</form>
<p class="confirmationMessage"><strong>Confirmation:</strong> {{ .Message }}</p>
<p class="confirmationMessage">{{ .Message }}</p>
</div>
</body>
</html>