TPAC expert search: wrap labelled fields consistently
[working/Evergreen.git] / Open-ILS / src / templates / opac / parts / advanced / expert.tt2
1 <form action="[% ctx.opac_root %]/results" method="get">
2     <div class="header_middle">[% l("Expert Search") %]</div>
3     <input type="hidden" name="_special" value="1" />
4     <table class="expert-search">
5         <tbody id="adv_expert_rows_here">
6             <tr id="adv_expert_row">
7                 <td>
8                 <span class="nonbreaking-wrapper">
9                     <label for="expert_tag">[% l("Tag:") %]</label>
10                     <input id="expert_tag" type="text" name="tag" size="3" autofocus />
11                 </span>
12                 <span class="nonbreaking-wrapper">
13                     <label for="expert_subfield">[% l("Subfield:") %]</label>
14                     <input id="expert_subfield" type="text" name="subfield" size="1" />
15                 </span>
16                 <span class="nonbreaking-wrapper">
17                     <label for="expert_term">[% l("Value:") %]</label>
18                     <input id="expert_term" type="text" name="term" size="16" />
19                 </span>
20                 </td>
21                 <td>
22                     <a href="javascript:;" class="row-remover"
23                         title="[% l('Remove row') %]" alt="[% l('Remove row') %]"
24                         onclick='return killRowIfAtLeast(1, this);'><img src="[% ctx.media_prefix %]/images/adv_row_close_btn.png" /></a>
25                 </td>
26             </tr>
27         </tbody>
28         <tfoot>
29             <tr>
30                <td colspan="7"><a href="javascript:addExpertRow();">[% l("Add Search Row") %]</a></td>
31             </tr>
32             <tr>
33                [%- lib_select_id = "expert_search_library"; -%]
34                <td colspan="5" class="expert-search-row">
35                    <label for="[% lib_select_id %]"><strong>[% l("Search Library:") %]</strong>
36                        [%- PROCESS "opac/parts/org_selector.tt2";
37                            INCLUDE build_org_selector id=lib_select_id show_loc_groups=1 
38                        %]
39                    </label>
40                </td>
41             </tr>
42             <tr>
43                 <td colspan="2" class="expert-search-row">
44                 <input type="submit" value="[% l('Search') %]"
45                     alt="[% l('Search') %]" title="[% l('Search') %]"
46                     class="opac-button" />
47                 </td>
48             </tr>
49         </tfoot>
50     </table>
51 </form>