aboutsummaryrefslogtreecommitdiff
path: root/templates/admin_ldap.html
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-08-16 12:53:35 +0200
committerAlex Auvolat <alex@adnab.me>2021-08-16 12:53:35 +0200
commit0a1ac27efbc046f2dc7ed8ba62473ac42d35a374 (patch)
tree0ec5d5eec626743e2a6dda60596b35688c02340e /templates/admin_ldap.html
parent3d7b4a9f68f5b5c06bc6c039c90ee8406a56e500 (diff)
downloadguichet-0a1ac27efbc046f2dc7ed8ba62473ac42d35a374.tar.gz
guichet-0a1ac27efbc046f2dc7ed8ba62473ac42d35a374.zip
Cleanup code in admin.go
Diffstat (limited to 'templates/admin_ldap.html')
-rw-r--r--templates/admin_ldap.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/admin_ldap.html b/templates/admin_ldap.html
index d1aab29..5867209 100644
--- a/templates/admin_ldap.html
+++ b/templates/admin_ldap.html
@@ -148,8 +148,8 @@
<div class="col-md-5">
<input class="form-control" type="text" list="users" name="values" placeholder="Utilisateur..." />
<datalist id="users">
- {{ range $key, $value := .ListMemGro}}
- <option value={{$key}}>{{$value}}</option>
+ {{range .PossibleNewMembers}}
+ <option value="{{.DN}}">{{.Name}}</option>
{{end}}
</datalist>
</div>
@@ -189,8 +189,8 @@
<div class="col-md-5">
<input class="form-control" list="groups" type="text" name="group" placeholder="Groupe..." />
<datalist id="groups">
- {{ range $key, $value := .ListMemGro}}
- <option value={{$key}}>{{$value}}</option>
+ {{range .PossibleNewGroups}}
+ <option value="{{.DN}}">{{.Name}}</option>
{{end}}
</datalist>
</div>