{% set form = request.form.getfirst('form', "") %} {% set field = request.form.getfirst('property', "") %} {% set property = request.form.getfirst('property', "") %} {# We have to remove an existing @template, but easier to just rename it #} {% set qs = request.env.QUERY_STRING|replace('@template=', '@x_template=') %} {% if request.columns %} {% set cols = request.columns %} {% else %} {% set cols = ['id', 'username', 'address', 'realname', 'roles'] %} {% endif %} {% set sort_on = request.sort %} {% from "macros.html" import search_input, search_select, search_select_roles %}