[%- BLOCK select # name=, pairs=, noopt=, selected=, onChange= -%] [% IF selected.keys; SET selected=selected.$name; END %] [%- END -%] [%- BLOCK input # name=, width= -%] [% # UGLY HACK work around TT filters crashing unicode over undef %] [% END %] [% BLOCK between # name=, width=, explain=, hint= %] [% explain | html %] [% INCLUDE input name="min_" _ name %] .. [% INCLUDE input name="max_" _ name %] [% IF hint %][% hint %][% END %] [% END %] [% BLOCK checkbox %] [%- END -%] [%- BLOCK login_required # explain="text" -%] [% IF !session.user_id %]
[% IF explain %]
[% explain %]
[% END %] [% END %] [%- END -%] [%- BLOCK form_explain # name= explain="text" wide=1|0 -%] [% explain # no filter, html allowed %] [%- END -%] [% BLOCK form_pagination # form=, order_options=[pairs], stat={n:}, base_url= %]