diff options
author | Alex Auvolat <alex@adnab.me> | 2021-08-16 12:53:35 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-08-16 12:53:35 +0200 |
commit | 0a1ac27efbc046f2dc7ed8ba62473ac42d35a374 (patch) | |
tree | 0ec5d5eec626743e2a6dda60596b35688c02340e /templates/admin_ldap.html | |
parent | 3d7b4a9f68f5b5c06bc6c039c90ee8406a56e500 (diff) | |
download | guichet-0a1ac27efbc046f2dc7ed8ba62473ac42d35a374.tar.gz guichet-0a1ac27efbc046f2dc7ed8ba62473ac42d35a374.zip |
Cleanup code in admin.go
Diffstat (limited to 'templates/admin_ldap.html')
-rw-r--r-- | templates/admin_ldap.html | 8 |
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> |