1 [% INCLUDE 'blocking_errors.inc' %]
4 [% SET categories = Categories.all %]
6 [% UNLESS ( no_add ) %]
7 <div id="toolbar" class="btn-toolbar">
8 <div class="btn-group" id="new-patron-button">
9 <button class="btn btn-default dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> New patron <span class="caret"></span></button>
10 <ul class="dropdown-menu">
11 [% FOREACH category IN categories %]<li><a href="/cgi-bin/koha/members/memberentry.pl?op=add&categorycode=[% category.categorycode | uri %]">[% category.description | html %]</a></li>[% END %]
14 [% IF Koha.Preference('PatronQuickAddFields') || Koha.Preference('BorrowerMandatoryField') %]
15 <div class="btn-group" id="quick-add-new-patron-button">
16 <button class="btn btn-default dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> Quick add new patron <span class="caret"></span></button>
17 <ul class="dropdown-menu">
18 [% FOREACH category IN categories %]<li><a href="/cgi-bin/koha/members/memberentry.pl?op=add&categorycode=[% category.categorycode | uri %]&quickadd=true">[% category.description | html %]</a></li>[% END %]
22 [% IF CAN_user_tools_manage_patron_lists %]
23 <a class="btn btn-default" href="/cgi-bin/koha/patron_lists/lists.pl" id="patron-lists-button"><i class="fa fa-edit"></i> Patron lists</a>