- [% FOREACH authorised_value_categorie IN authorised_value_categories %]
- [% IF ( authorised_value_categorie.selected ) %]
- <option value="[% authorised_value_categorie.category %]" selected="selected">
- [% authorised_value_categorie.category %]
+ [% PROCESS options_for_authorised_value_categories authorised_value_categories => AuthorisedValues.GetCategories( selected => authorised_value_category ) %]
+ </select>
+ <span>Authorized value category; if one is selected, the patron record input page will only allow values
+ to be chosen from the authorized value list. However, an authorized value list is not
+ enforced during batch patron import.</span>
+ </li>
+ <li><label for="branches">Branches limitation: </label>
+ <select id="branches" name="branches" multiple size="10">
+ <option value="">All branches</option>
+ [% FOREACH branch IN branches_loop %]
+ [% IF ( branch.selected ) %]
+ <option selected="selected" value="[% branch.branchcode %]">[% branch.branchname %]</option>
+ [% ELSE %]
+ <option value="[% branch.branchcode %]">[% branch.branchname %]</option>
+ [% END %]
+ [% END %]
+ </select>
+ <span>Select All if this attribute type must to be displayed all the time. Otherwise select libraries you want to associate with this value.
+ </span>
+ </li>
+ <li>
+ <label for="category">Category: </label>
+ <select name="category_code" id="category">
+ <option value=""></option>
+ [% FOREACH cat IN categories %]
+ [% IF ( cat.categorycode == category_code ) %]<option value="[% cat.categorycode %]" selected="selected">[% cat.description %]</option>[% ELSE %]<option value="[% cat.categorycode %]">[% cat.description %]</option>[% END %]
+ [% END %]
+ </select>
+ <span>Choose one to limit this attribute to one patron type. Please leave blank if you want these attributes to be available for all types of patrons.</span>
+ </li>
+ <li>
+ <label for="class">Class: </label>
+ <select name="class" id="class">
+ <option value=""></option>
+ [% FOREACH class IN classes_val_loop %]
+ [% IF class.authorised_value == category_class %]
+ <option value="[% class.authorised_value %]" selected="selected">
+ [% class.lib %]