RSS Git Download  Clone
Raw Blame History
<!-- BEGIN lookup.tt -->
    [% PROCESS site/popup.tt height=800, width=650, top=50 %]
    
    <p>
        [% SET onclick_event = 'onclick="return popup(this.href);"' %]
        Search:
        [% UNLESS type %]
            [ <a href="[% app_url %]/referral-source?lookup=hospital" [% onclick_event %]>hospital</a> ]
            [ <a href="[% app_url %]/referral-source?lookup=practice"[% onclick_event %]>practice</a> ]
            [ <a href="[% app_url %]/referral-source?lookup=independant"[% onclick_event %]>independant</a> ]
            [ <a href="[% app_url %]/referral-source?lookup=prison"[% onclick_event %]>prison</a> ]
            [ <a href="[% app_url %]/referral-source?lookup=clinician"[% onclick_event %]>clinician</a> ]
            [ <a href="[% app_url %]/referral-source?lookup=GP"[% onclick_event %]>GP</a> ]
        [% ELSE %]
            [ <a href="[% app_url %]/referral-source?lookup=[% type %]" [% onclick_event %]>[% type %]</a> ]
        [% END %]
    </p>
<!-- END lookup.tt -->