[% 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' 'trust' 'practice' 'independant' 'prison' 'clinician' 'GP' ]; FOREACH entry IN places; INCLUDE row t = entry; END; %]
[% IF location_type %]
source file: [% file_data.filename %].csv; status: updated [% file_data.age %] months ago [% IF age AND c.user_can('edit_pid') # otherwise need to use admin function %] [ update file ] [% END %]
[% END %] [% END %] [% IF c.query.param('string') %] [% IF matches.size %]Found [% matches.size %] [% location_type %]s matching "[% c.query.param('string') %]":
[% INCLUDE file_update %]| 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') %]"
[% INCLUDE file_update %] [% END %] [% END %]