|
Lines 58-82
Link Here
|
| 58 |
[% BLOCK 'alt-address-style_roadtypes' %] |
58 |
[% BLOCK 'alt-address-style_roadtypes' %] |
| 59 |
[% SET roadtypes = AuthorisedValues.GetAuthValueDropbox('ROADTYPE') %] |
59 |
[% SET roadtypes = AuthorisedValues.GetAuthValueDropbox('ROADTYPE') %] |
| 60 |
[% IF roadtypes %] |
60 |
[% IF roadtypes %] |
| 61 |
<li> |
61 |
[% UNLESS noB_streettype %] |
| 62 |
[% IF ( mandatoryB_streettype ) %] |
62 |
<li> |
| 63 |
<label for="B_streettype" class="required"> |
63 |
[% IF ( mandatoryB_streettype ) %] |
| 64 |
[% ELSE %] |
64 |
<label for="B_streettype" class="required"> |
| 65 |
<label for="B_streettype"> |
65 |
[% ELSE %] |
| 66 |
[% END %] |
66 |
<label for="B_streettype"> |
| 67 |
Street type: </label> |
|
|
| 68 |
<select name="B_streettype"> |
| 69 |
<option value=""></option> |
| 70 |
[% FOR roadtype IN roadtypes %] |
| 71 |
[% IF roadtype.authorised_value == patron.B_streettype %] |
| 72 |
<option value="[% roadtype.authorised_value | html %]" selected="selected">[% roadtype.lib | html %]</option> |
| 73 |
[% ELSE %] |
| 74 |
<option value="[% roadtype.authorised_value | html %]">[% roadtype.lib | html %]</option> |
| 75 |
[% END %] |
| 76 |
[% END %] |
67 |
[% END %] |
| 77 |
</select> |
68 |
Street type: </label> |
| 78 |
[% IF ( mandatoryB_streettype ) %]<span class="required">Required</span>[% END %] |
69 |
<select name="B_streettype"> |
| 79 |
</li> |
70 |
<option value=""></option> |
|
|
71 |
[% FOR roadtype IN roadtypes %] |
| 72 |
[% IF roadtype.authorised_value == patron.B_streettype %] |
| 73 |
<option value="[% roadtype.authorised_value | html %]" selected="selected">[% roadtype.lib | html %]</option> |
| 74 |
[% ELSE %] |
| 75 |
<option value="[% roadtype.authorised_value | html %]">[% roadtype.lib | html %]</option> |
| 76 |
[% END %] |
| 77 |
[% END %] |
| 78 |
</select> |
| 79 |
[% IF ( mandatoryB_streettype ) %]<span class="required">Required</span>[% END %] |
| 80 |
</li> |
| 81 |
[% END %] |
| 80 |
[% END %] |
82 |
[% END %] |
| 81 |
[% END %] |
83 |
[% END %] |
| 82 |
|
84 |
|