|
Lines 35-45
Link Here
|
| 35 |
<li> |
35 |
<li> |
| 36 |
<label for="authtypecode">Authority type: </label> |
36 |
<label for="authtypecode">Authority type: </label> |
| 37 |
<select name="authtypecode" id="authtypecode"> |
37 |
<select name="authtypecode" id="authtypecode"> |
| 38 |
[% FOREACH authtypesloo IN authtypesloop %] |
38 |
[% FOREACH authority_type IN authority_types %] |
| 39 |
[% IF ( authtypesloo.selected ) %] |
39 |
[% IF authority_type.authtypecode == authtypecode %] |
| 40 |
<option value="[% authtypesloo.value %]" selected="selected">[% authtypesloo.authtypetext %]</option> |
40 |
<option value="[% authority_type.authtypecode%]" selected="selected">[% authority_type.authtypetext %]</option> |
| 41 |
[% ELSE %] |
41 |
[% ELSE %] |
| 42 |
<option value="[% authtypesloo.value %]"> [% authtypesloo.authtypetext %]</option> |
42 |
<option value="[% authority_type.authtypecode%]">[% authority_type.authtypetext %]</option> |
| 43 |
[% END %] |
43 |
[% END %] |
| 44 |
[% END %] |
44 |
[% END %] |
| 45 |
</select> |
45 |
</select> |