Koha/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search-box.inc
Owen Leonard 248544e292
Bug 35850: Use template wrapper for tabs: Header search forms
This patch updates search header includes so that the tabs use WRAPPER
to build markup.

To test, apply the patch rebuild the staff interface CSS.

Test at least one page which uses each updated search include. Search
header tabs should look correct and work correctly.

- Acquisitions
  - Suggestions
- Administration
    - Budgets and funds
    - Cities
    - Currencies
    - Desks
    - Patron categories
    - System preferences
    - Z39.50
- Advanced search
- Authorities
- Bibliographic detail page
- Cataloging home page
- Check in
- Check out
- Acquisitions -> Vendor -> Contracts
- ERM
- Staff interface home page
- Serials
- Tool -> Notices

Signed-off-by: Martin AUBEUT <martin.aubeut@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-03-22 15:47:34 +01:00

22 lines
1.2 KiB
HTML

[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
<!-- patron-search-box.inc -->
[% WRAPPER tab_panel tabname="circ_search" bt_active= bs_tab_active %]
<form action="/cgi-bin/koha/circ/circulation.pl" id="patronsearch" method="get">
<div class="form-title">
<label class="control-label" for="findborrower"><span class="control-text">Check out</span> <i class="fa fa-fw fa-upload" aria-hidden="true"></i></label>
</div>
<div class="form-content">
<input autocomplete="off" id="findborrower" name="findborrower" class="head-searchbox form-control" type="text" placeholder="Enter patron card number or partial name" size="40"/>
[% IF ( stickyduedate ) %]
<input type="hidden" name="duedatespec" value="[% duedatespec | html %]" />
<input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" />
[% END %]
</div>
<button type="submit" aria-label="Search"><i class="fa fa-arrow-right"></i></button>
</form>
[% END # /tab_panel %]
<!-- /patron-search-box.inc -->
[% END %]