1 <fieldset class="rows" id="memberentry_address">
2 <legend id="alt_address_lgd">Alternate address</legend><ol>
3 [% UNLESS noB_streetnumber %]
5 [% IF ( mandatoryB_streetnumber ) %]
6 <label for="B_streetnumber" class="required">
8 <label for="B_streetnumber">
10 Street Number: </label>
11 <input type="text" id="B_streetnumber" name="B_streetnumber" size="5" value="[% patron.B_streetnumber | html %]" />
12 [% IF ( mandatoryB_streetnumber ) %]<span class="required">Required</span>[% END %]
18 [% IF ( mandatoryB_streettype ) %]
19 <label for="B_streettype" class="required">
21 <label for="B_streettype">
24 <select name="B_streettype">
25 <option value=""></option>
26 [% FOR roadtype IN roadtypes %]
27 [% IF roadtype.authorised_value == patron.B_streettype %]
28 <option value="[% roadtype.authorised_value | html %]" selected="selected">[% roadtype.lib | html %]</option>
30 <option value="[% roadtype.authorised_value | html %]">[% roadtype.lib | html %]</option>
34 [% IF ( mandatoryB_streettype ) %]<span class="required">Required</span>[% END %]
38 [% UNLESS noB_address %]
40 [% IF ( mandatoryB_address ) %]
41 <label for="B_address" class="required">
43 <label for="B_address">
46 <input type="text" id="B_address" name="B_address" size="40" value="[% patron.B_address | html %]" />
47 [% IF ( mandatoryB_address ) %]<span class="required">Required</span>[% END %]
50 [% UNLESS noB_address2 %]
52 [% IF ( mandatoryB_address2 ) %]
53 <label for="B_address2" class="required">
55 <label for="B_address2">
58 <input type="text" id="B_address2" name="B_address2" size="40" value="[% patron.B_address2 | html %]" />
59 [% IF ( mandatoryB_address2 ) %]<span class="required">Required</span>[% END %]
64 [% IF ( mandatoryB_city ) %]
65 <label for="B_city" class="required" >
70 <input type="text" id="B_city" name="B_city" size="20" value="[% patron.B_city | html %]" />
71 [% IF ( mandatoryB_city ) %]<span class="required">Required</span>[% END %]
74 [% UNLESS noB_state %]
76 [% IF ( mandatoryB_state ) %]
77 <label for="B_state" class="required" >
82 <input type="text" id="B_state" name="B_state" size="20" value="[% patron.B_state | html %]" />
83 [% IF ( mandatoryB_state ) %]<span class="required">Required</span>[% END %]
86 [% UNLESS noB_zipcode %]
88 [% IF ( mandatoryB_zipcode ) %]
89 <label for="B_zipcode" class="required">
91 <label for="B_zipcode">
93 ZIP/Postal code: </label>
94 <input type="text" id="B_zipcode" name="B_zipcode" maxlength="10" size="10" value="[% patron.B_zipcode | html %]" />
95 [% IF ( mandatoryB_zipcode ) %]<span class="required">Required</span>[% END %]
98 [% UNLESS noB_country %]
100 [% IF ( mandatoryB_country ) %]
101 <label for="B_country" class="required">
103 <label for="B_country">
106 <input type="text" id="B_country" name="B_country" size="20" value="[% patron.B_country | html %]" />
107 [% IF ( mandatoryB_country ) %]<span class="required">Required</span>[% END %]
110 [% UNLESS noB_phone %]
112 [% IF ( mandatoryB_phone ) %]
113 <label for="B_phone" class="required">
115 <label for="B_phone">
118 <input type="text" id="B_phone" name="B_phone" value="[% patron.B_phone | html %]" />
119 [% IF ( mandatoryB_phone ) %]<span class="required">Required</span>[% END %]
122 [% UNLESS noB_email %]
124 [% IF ( mandatoryB_email ) %]
125 <label for="B_email" class="required">
127 <label for="B_email">
130 <input type="text" id="B_email" name="B_email" size="45" value="[% patron.B_email | html %]" />
131 [% IF ( mandatoryB_email ) %]<span class="required">Required</span>[% END %] </li>
133 [% UNLESS nocontactnote %]
135 [% IF ( mandatorycontactnote ) %]
136 <label for="contactnote" class="required">
138 <label for="contactnote">
140 Contact note: </label>
141 <textarea id="contactnote" name="contactnote" cols="40" rows="2">[% contactnote | html %]</textarea>
142 [% IF ( mandatorycontactnote ) %]<span class="required">Required</span>[% END %]