1 <fieldset class="rows" id="memberentry_address">
2 <legend id="alt_address_lgd">Alternate address</legend><ol>
4 [% UNLESS noB_streetnumber %]
6 [% IF ( mandatoryB_streetnumber ) %]
7 <label for="B_streetnumber" class="required">
9 <label for="B_streetnumber">
11 Street Number: </label>
12 <input type="text" id="B_streetnumber" name="B_streetnumber" size="5" value="[% B_streetnumber %]" />
13 [% IF ( mandatoryB_streetnumber ) %]<span class="required">Required</span>[% END %]
19 [% IF ( mandatoryB_streettype ) %]
20 <label for="B_streettype" class="required">
22 <label for="B_streettype">
25 <select name="B_streettype">
26 <option value=""></option>
27 [% FOR roadtype IN roadtypes %]
28 [% IF roadtype.authorised_value == B_streettype %]
29 <option value="[% roadtype.authorised_value %]" selected="selected">[% roadtype.lib %]</option>
31 <option value="[% roadtype.authorised_value %]">[% roadtype.lib %]</option>
35 [% IF ( mandatoryB_streettype ) %]<span class="required">Required</span>[% END %]
39 [% UNLESS noB_address %]
41 [% IF ( mandatoryB_address ) %]
42 <label for="B_address" class="required">
44 <label for="B_address">
47 <input type="text" id="B_address" name="B_address" size="40" value="[% B_address %]" />
48 [% IF ( mandatoryB_address ) %]<span class="required">Required</span>[% END %]
52 [% UNLESS noB_address2 %]
54 [% IF ( mandatoryB_address2 ) %]
55 <label for="B_address2" class="required">
57 <label for="B_address2">
60 <input type="text" id="B_address2" name="B_address2" size="40" value="[% B_address2 %]" />
61 [% IF ( mandatoryB_address2 ) %]<span class="required">Required</span>[% END %]
64 [% UNLESS noB_zipcode %]
66 [% IF ( mandatoryB_zipcode ) %]
67 <label for="B_zipcode" class="required">
69 <label for="B_zipcode">
71 ZIP/Postal code: </label>
72 <input type="text" id="B_zipcode" name="B_zipcode" maxlength="10" size="10" value="[% B_zipcode %]" />
73 [% IF ( mandatoryB_zipcode ) %]<span class="required">Required</span>[% END %]
78 [% IF ( mandatoryB_city ) %]
79 <label for="B_city" class="required" >
84 <input type="text" id="B_city" name="B_city" size="20" value="[% B_city %]" />
85 [% IF ( mandatoryB_city ) %]<span class="required">Required</span>[% END %]
88 [% UNLESS noB_state %]
90 [% IF ( mandatoryB_state ) %]
91 <label for="B_state" class="required" >
96 <input type="text" id="B_state" name="B_state" size="20" value="[% B_state %]" />
97 [% IF ( mandatoryB_state ) %]<span class="required">Required</span>[% END %]
100 [% UNLESS noB_country %]
102 [% IF ( mandatoryB_country ) %]
103 <label for="B_country" class="required">
105 <label for="B_country">
108 <input type="text" id="B_country" name="B_country" size="20" value="[% B_country %]" />
109 [% IF ( mandatoryB_country ) %]<span class="required">Required</span>[% END %]
112 [% UNLESS noB_phone %]
114 [% IF ( mandatoryB_phone ) %]
115 <label for="B_phone" class="required">
117 <label for="B_phone">
120 <input type="text" id="B_phone" name="B_phone" value="[% B_phone %]" />
121 [% IF ( mandatoryB_phone ) %]<span class="required">Required</span>[% END %]
124 [% UNLESS noB_email %]
126 [% IF ( mandatoryB_email ) %]
127 <label for="B_email" class="required">
129 <label for="B_email">
132 <input type="text" id="B_email" name="B_email" size="45" value="[% B_email %]" />
133 [% IF ( mandatoryB_email ) %]<span class="required">Required</span>[% END %] </li>
135 [% UNLESS nocontactnote %]
137 [% IF ( mandatorycontactnote ) %]
138 <label for="contactnote" class="required">
140 <label for="contactnote">
142 Contact note: </label>
143 <textarea id="contactnote" name="contactnote" cols="40" rows="2">[% contactnote %]</textarea>
144 [% IF ( mandatorycontactnote ) %]<span class="required">Required</span>[% END %]