aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-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>