Lines 1-3
Link Here
|
|
|
1 |
[% USE AuthorisedValues %] |
1 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
<title>Koha › Administration › |
3 |
<title>Koha › Administration › |
3 |
[% SWITCH op %] |
4 |
[% SWITCH op %] |
Lines 150-160
Link Here
|
150 |
<label for="av">Authorised value category: </label> |
151 |
<label for="av">Authorised value category: </label> |
151 |
<select name="authorised_value_category"> |
152 |
<select name="authorised_value_category"> |
152 |
<option value="">None</option> |
153 |
<option value="">None</option> |
153 |
[% FOR category IN categories %] |
154 |
[% FOR category IN AuthorisedValues.GetCategories({ selected = field.authorised_value_category }) %] |
154 |
[% IF field.authorised_value_category == category %] |
155 |
[% IF category.selected %] |
155 |
<option value="[% category %]" selected="selected">[% category %]</option> |
156 |
<option value="[% category.category %]" selected="selected">[% category.category %]</option> |
156 |
[% ELSE %] |
157 |
[% ELSE %] |
157 |
<option value="[% category %]">[% category %]</option> |
158 |
<option value="[% category.category %]">[% category.category %]</option> |
158 |
[% END %] |
159 |
[% END %] |
159 |
[% END %] |
160 |
[% END %] |
160 |
</select> |
161 |
</select> |
161 |
- |
|
|