|
Lines 63-70
Link Here
|
| 63 |
[% IF roadtypes.count %] |
63 |
[% IF roadtypes.count %] |
| 64 |
[% UNLESS noB_streettype %] |
64 |
[% UNLESS noB_streettype %] |
| 65 |
<li> |
65 |
<li> |
| 66 |
<label for="B_streettype" [% IF mandatoryB_streettype %]class="required"[% END %]>Street type: </label> |
66 |
<label for="B_streettype" id="B_streettype_label" [% IF mandatoryB_streettype %]class="required"[% END %]>Street type: </label> |
| 67 |
<select name="B_streettype"> |
67 |
<select name="B_streettype" id="B_streettype"> |
| 68 |
<option value=""></option> |
68 |
<option value=""></option> |
| 69 |
[% FOR roadtype IN roadtypes %] |
69 |
[% FOR roadtype IN roadtypes %] |
| 70 |
[% IF roadtype.authorised_value == patron.B_streettype %] |
70 |
[% IF roadtype.authorised_value == patron.B_streettype %] |
|
Lines 83-89
Link Here
|
| 83 |
[% BLOCK 'alt-address-style_B_address' %] |
83 |
[% BLOCK 'alt-address-style_B_address' %] |
| 84 |
[% UNLESS noB_address %] |
84 |
[% UNLESS noB_address %] |
| 85 |
<li> |
85 |
<li> |
| 86 |
<label for="B_address" [% IF mandatoryB_address %]class="required"[% END %]>Address: </label> |
86 |
<label for="B_address" id="B_address_label" [% IF mandatoryB_address %]class="required"[% END %]>Address: </label> |
| 87 |
<input type="text" id="B_address" name="B_address" size="40" value="[% patron.B_address | html %]" /> |
87 |
<input type="text" id="B_address" name="B_address" size="40" value="[% patron.B_address | html %]" /> |
| 88 |
[% IF ( mandatoryB_address ) %]<span class="required">Required</span>[% END %] |
88 |
[% IF ( mandatoryB_address ) %]<span class="required">Required</span>[% END %] |
| 89 |
</li> |
89 |
</li> |
|
Lines 93-99
Link Here
|
| 93 |
[% BLOCK 'alt-address-style_B_streetnumber' %] |
93 |
[% BLOCK 'alt-address-style_B_streetnumber' %] |
| 94 |
[% UNLESS noB_streetnumber %] |
94 |
[% UNLESS noB_streetnumber %] |
| 95 |
<li> |
95 |
<li> |
| 96 |
<label for="B_streetnumber" [% IF mandatoryB_streetnumber %]class="required"[% END %]>Street number: </label> |
96 |
<label for="B_streetnumber" id="B_streetnumber_label" [% IF mandatoryB_streetnumber %]class="required"[% END %]>Street number: </label> |
| 97 |
<input type="text" id="B_streetnumber" name="B_streetnumber" value="[% patron.B_streetnumber | html %]" /> |
97 |
<input type="text" id="B_streetnumber" name="B_streetnumber" value="[% patron.B_streetnumber | html %]" /> |
| 98 |
[% IF ( mandatoryB_streetnumber ) %]<span class="required">Required</span>[% END %] |
98 |
[% IF ( mandatoryB_streetnumber ) %]<span class="required">Required</span>[% END %] |
| 99 |
</li> |
99 |
</li> |
|
Lines 103-109
Link Here
|
| 103 |
[% BLOCK 'alt-address-style_B_address2' %] |
103 |
[% BLOCK 'alt-address-style_B_address2' %] |
| 104 |
[% UNLESS noB_address2 %] |
104 |
[% UNLESS noB_address2 %] |
| 105 |
<li> |
105 |
<li> |
| 106 |
<label for="B_address2" [% IF mandatoryB_address2 %]class="required"[% END %]>Address 2: </label> |
106 |
<label for="B_address2" id="B_address2_label" [% IF mandatoryB_address2 %]class="required"[% END %]>Address 2: </label> |
| 107 |
<input type="text" id="B_address2" name="B_address2" size="40" value="[% patron.B_address2 | html %]" /> |
107 |
<input type="text" id="B_address2" name="B_address2" size="40" value="[% patron.B_address2 | html %]" /> |
| 108 |
[% IF ( mandatoryB_address2 ) %]<span class="required">Required</span>[% END %] |
108 |
[% IF ( mandatoryB_address2 ) %]<span class="required">Required</span>[% END %] |
| 109 |
</li> |
109 |
</li> |
|
Lines 113-119
Link Here
|
| 113 |
[% BLOCK 'alt-address-style_B_zipcode' %] |
113 |
[% BLOCK 'alt-address-style_B_zipcode' %] |
| 114 |
[% UNLESS noB_zipcode %] |
114 |
[% UNLESS noB_zipcode %] |
| 115 |
<li> |
115 |
<li> |
| 116 |
<label for="B_zipcode" [% IF mandatoryB_zipcode %]class="required"[% END %]>ZIP/Postal code: </label> |
116 |
<label for="B_zipcode" id="B_zipcode_label" [% IF mandatoryB_zipcode %]class="required"[% END %]>ZIP/Postal code: </label> |
| 117 |
<input type="text" id="B_zipcode" name="B_zipcode" maxlength="10" size="10" value="[% patron.B_zipcode | html %]" /> |
117 |
<input type="text" id="B_zipcode" name="B_zipcode" maxlength="10" size="10" value="[% patron.B_zipcode | html %]" /> |
| 118 |
[% IF ( mandatoryB_zipcode ) %]<span class="required">Required</span>[% END %] |
118 |
[% IF ( mandatoryB_zipcode ) %]<span class="required">Required</span>[% END %] |
| 119 |
</li> |
119 |
</li> |
|
Lines 123-129
Link Here
|
| 123 |
[% BLOCK 'alt-address-style_B_city' %] |
123 |
[% BLOCK 'alt-address-style_B_city' %] |
| 124 |
[% UNLESS noB_city %] |
124 |
[% UNLESS noB_city %] |
| 125 |
<li> |
125 |
<li> |
| 126 |
<label for="B_city" [% IF mandatoryB_city %]class="required"[% END %]>City: </label> |
126 |
<label for="B_city" id="B_city_label" [% IF mandatoryB_city %]class="required"[% END %]>City: </label> |
| 127 |
[% IF cities.count %] |
127 |
[% IF cities.count %] |
| 128 |
<select class="select_city" data-addressfield="B_" name="select_city"> |
128 |
<select class="select_city" data-addressfield="B_" name="select_city"> |
| 129 |
<option value="|||"></option> |
129 |
<option value="|||"></option> |
|
Lines 147-153
Link Here
|
| 147 |
[% BLOCK 'alt-address-style_B_state' %] |
147 |
[% BLOCK 'alt-address-style_B_state' %] |
| 148 |
[% UNLESS noB_state %] |
148 |
[% UNLESS noB_state %] |
| 149 |
<li> |
149 |
<li> |
| 150 |
<label for="B_state" [% IF mandatoryB_state %]class="required"[% END %]>State: </label> |
150 |
<label for="B_state" id="B_state_label" [% IF mandatoryB_state %]class="required"[% END %]>State: </label> |
| 151 |
<input type="text" id="B_state" name="B_state" size="20" value="[% patron.B_state | html %]" /> |
151 |
<input type="text" id="B_state" name="B_state" size="20" value="[% patron.B_state | html %]" /> |
| 152 |
[% IF ( mandatoryB_state ) %]<span class="required">Required</span>[% END %] |
152 |
[% IF ( mandatoryB_state ) %]<span class="required">Required</span>[% END %] |
| 153 |
</li> |
153 |
</li> |
|
Lines 157-163
Link Here
|
| 157 |
[% BLOCK 'alt-address-style_B_country' %] |
157 |
[% BLOCK 'alt-address-style_B_country' %] |
| 158 |
[% UNLESS noB_country %] |
158 |
[% UNLESS noB_country %] |
| 159 |
<li> |
159 |
<li> |
| 160 |
<label for="B_country" [% IF mandatoryB_country %]class="required"[% END %]>Country: </label> |
160 |
<label for="B_country" id="B_country_label" [% IF mandatoryB_country %]class="required"[% END %]>Country: </label> |
| 161 |
<input type="text" id="B_country" name="B_country" size="20" value="[% patron.B_country | html %]" /> |
161 |
<input type="text" id="B_country" name="B_country" size="20" value="[% patron.B_country | html %]" /> |
| 162 |
[% IF ( mandatoryB_country ) %]<span class="required">Required</span>[% END %] |
162 |
[% IF ( mandatoryB_country ) %]<span class="required">Required</span>[% END %] |
| 163 |
</li> |
163 |
</li> |
|
Lines 167-173
Link Here
|
| 167 |
[% BLOCK 'alt-address-style_B_phone' %] |
167 |
[% BLOCK 'alt-address-style_B_phone' %] |
| 168 |
[% UNLESS noB_phone %] |
168 |
[% UNLESS noB_phone %] |
| 169 |
<li> |
169 |
<li> |
| 170 |
<label for="B_phone" [% IF mandatoryB_phone %]class="required"[% END %]>Phone: </label> |
170 |
<label for="B_phone" id="B_phone_label" [% IF mandatoryB_phone %]class="required"[% END %]>Phone: </label> |
| 171 |
<input type="text" id="B_phone" name="B_phone" value="[% patron.B_phone | html %]" /> |
171 |
<input type="text" id="B_phone" name="B_phone" value="[% patron.B_phone | html %]" /> |
| 172 |
[% IF ( mandatoryB_phone ) %]<span class="required">Required</span>[% END %] |
172 |
[% IF ( mandatoryB_phone ) %]<span class="required">Required</span>[% END %] |
| 173 |
</li> |
173 |
</li> |
|
Lines 177-183
Link Here
|
| 177 |
[% BLOCK 'alt-address-style_B_email' %] |
177 |
[% BLOCK 'alt-address-style_B_email' %] |
| 178 |
[% UNLESS noB_email %] |
178 |
[% UNLESS noB_email %] |
| 179 |
<li> |
179 |
<li> |
| 180 |
<label for="B_email" [% IF mandatoryB_email %]class="required"[% END %]>Email: </label> |
180 |
<label for="B_email" id="B_email_label" [% IF mandatoryB_email %]class="required"[% END %]>Email: </label> |
| 181 |
[% IF ( NoUpdateEmail ) %] |
181 |
[% IF ( NoUpdateEmail ) %] |
| 182 |
<input type="text" id="B_email" name="B_email" size="45" value="[% patron.B_email | html %]" disabled="disabled" /> |
182 |
<input type="text" id="B_email" name="B_email" size="45" value="[% patron.B_email | html %]" disabled="disabled" /> |
| 183 |
[% ELSE %] |
183 |
[% ELSE %] |
|
Lines 191-197
Link Here
|
| 191 |
[% BLOCK 'alt-address-style_B_contactnote' %] |
191 |
[% BLOCK 'alt-address-style_B_contactnote' %] |
| 192 |
[% UNLESS nocontactnote %] |
192 |
[% UNLESS nocontactnote %] |
| 193 |
<li> |
193 |
<li> |
| 194 |
<label for="contactnote" [% IF mandatorycontactnote %]class="required"[% END %]>Contact note: </label> |
194 |
<label for="contactnote" id="contactnote_label" [% IF mandatorycontactnote %]class="required"[% END %]>Contact note: </label> |
| 195 |
<textarea id="contactnote" name="contactnote" cols="40" rows="2">[% patron.contactnote | html %]</textarea> |
195 |
<textarea id="contactnote" name="contactnote" cols="40" rows="2">[% patron.contactnote | html %]</textarea> |
| 196 |
[% IF ( mandatorycontactnote ) %]<span class="required">Required</span>[% END %] |
196 |
[% IF ( mandatorycontactnote ) %]<span class="required">Required</span>[% END %] |
| 197 |
</li> |
197 |
</li> |