[% SET skip_wrappers = 1 IF c.stash.skip_wrapper # shared between resource & popup %] [% IF ! location_type %]
Choose a resource type to search:
[% END %] [% BLOCK row %] [ [% t %] ] [% END %]Search: [% places = [ 'hospital' 'practice' 'independant' 'prison' 'clinician' 'GP' ]; FOREACH entry IN places; INCLUDE row t = entry; END; %]
[% IF location_type %]
Found [% matches.size %] [% location_type %]s matching "[% c.query.param('string') %]":
[% IF file_data; age = file_data.age; IF age >= 12; class = 'error'; ELSIF age >= 6; class = 'warning'; ELSE; class = 'info'; END; %]source file: [% file_data.filename %].csv; status: updated [% file_data.age %] months ago [% #IF age <= 6 # need to modified template - no headers & incr. width %] [% #END %]
[% END %]| Code | Details | |
|---|---|---|
| [% loop.count %] | [% IF class.match('bold') %] [% location.code %] [% ELSE %] [% location.code %] [% END %] | [% display = location.display | html; # escape, then add markup: highlight(display) # callback %] |
No matches found for "[% c.query.param('string') %]"
[% END %] [% END %]