RSS Git Download  Clone
Raw Blame History
<!-- BEGIN site/lookup.tt -->
    [% PROCESS site/popup.tt height=800, width=800, top=50 %]
    
    [% BLOCK row %]        
        [ <a href="[% app_url %]/referral-source/select/?lookup=[% t %]" [% onclick_event %]>
            [% t %]
        </a> ]
    [% END %]

    <p>
        Search:
        [% UNLESS type;
            onclick_event = 'onclick="return popup(this.href);"';
            places = [ 'hospital' 'practice' 'independant' 'prison' 'clinician'
                'GP' ];
            FOREACH entry IN places;
                INCLUDE row t = entry;
            END;
        %]
        [% ELSE %]
            [ <a href="[% app_url %]/referral-source/select/?lookup=[% type %]"
                [% onclick_event %]>[% type %]</a> ]
        [% END %]
    </p>
<!-- END site/lookup.tt -->