{{response.files.append(URL(r=request,c='static',f='jquery.dataTables.min.js'))}} {{response.files.append(URL(r=request,c='static',f='demo_table.css'))}} {{extend 'layout.html'}} {{if company:}}

Contacts at {{=link_company(company)}}

[toggle]

New Contact Person

{{=form}}
{{else:}}

All Contacts

{{pass}}

{{for person in persons:}} {{pass}}
NameRoleCompanyAction
{{=person.name}} {{=person.role}} {{=cache.ram('c%s'%person.company, lambda:person.company.name,100)}} {{=button('view','view_person',person.id)}} {{=button('edit','edit_person',person.id)}} {{=button('logs','list_logs',person.id)}} {{=button('docs','list_docs',person.id)}} {{=button('tasks','list_tasks',person.id)}}