<!-- BEGIN [% component.name %] -->
  [% trusts = c.get_yaml_file('participating_trusts'); # INCLUDE dumper.tt dump = trusts; %]
    <p class="indent">
        <strong>Select location:</strong>
        <select name="genomics_parentcode_filter" id="parent"
            [% 'required' UNLESS c.user_can('do_admin') %]>
            <option value="">--select one--</option>
            [% FOREACH pair IN trusts.pairs %]
                <option value="[% pair.value %]">[% pair.key %]</option>
            [% END %]
        </select>
        [% UNLESS c.user_can('do_admin'); '[<span class="maroon">required</span>]'; END %]
    </p>
 
    <p class="indent">
        <strong>Select category:</strong>
        <select name="genomics_category_filter" id="category"
            [% 'required' UNLESS c.user_can('do_admin') %]>
            <option value="">--select one--</option>
            [% FOREACH entry IN [ 'cancer' 'rare disease'] %]
                <option value="[% entry %]">[% entry %]</option>
            [% END %]
        </select>
        [% UNLESS c.user_can('do_admin'); '[<span class="maroon">required</span>]'; END %]
    </p>
<!-- END [% component.name %] -->
