## -*- coding: utf-8 -*- <%inherit file="navbar.tmpl"/> <%block name="core"> <% from ldapcherry.csrf import get_csrf_token %>
% if not searchresult is None:
%for attr in sorted(attrs_list.keys(), key=lambda attr: attrs_list[attr]['weight']): % endfor %for user in searchresult: %for attr in sorted(attrs_list.keys(), key=lambda attr: attrs_list[attr]['weight']): % endfor % endfor
${attrs_list[attr]['display_name']} Modify Delete
% if attr in searchresult[user]: <% value = searchresult[user][attr] if type(value) is list: value = ', '.join(value) %> ${value} % endif Modify
<%include file="csrf_field.tmpl"/>
%endif