Line 0
Link Here
|
|
|
1 |
<fieldset class="rows" id="memberentry_address"> |
2 |
<legend id="alt_address_lgd">Alternate address</legend><ol> |
3 |
|
4 |
[% UNLESS noB_streetnumber %] |
5 |
<li> |
6 |
[% IF ( mandatoryB_streetnumber ) %] |
7 |
<label for="B_streetnumber" class="required"> |
8 |
[% ELSE %] |
9 |
<label for="B_streetnumber"> |
10 |
[% END %] |
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 %] |
14 |
</li> |
15 |
[% END %] |
16 |
|
17 |
[% IF roadtypes %] |
18 |
<li> |
19 |
[% IF ( mandatoryB_streettype ) %] |
20 |
<label for="B_streettype" class="required"> |
21 |
[% ELSE %] |
22 |
<label for="B_streettype"> |
23 |
[% END %] |
24 |
Street type: </label> |
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> |
30 |
[% ELSE %] |
31 |
<option value="[% roadtype.authorised_value %]">[% roadtype.lib %]</option> |
32 |
[% END %] |
33 |
[% END %] |
34 |
</select> |
35 |
[% IF ( mandatoryB_streettype ) %]<span class="required">Required</span>[% END %] |
36 |
</li> |
37 |
[% END %] |
38 |
|
39 |
[% UNLESS noB_address %] |
40 |
<li> |
41 |
[% IF ( mandatoryB_address ) %] |
42 |
<label for="B_address" class="required"> |
43 |
[% ELSE %] |
44 |
<label for="B_address"> |
45 |
[% END %] |
46 |
Address: </label> |
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 %] |
49 |
</li> |
50 |
[% END %] |
51 |
|
52 |
[% UNLESS noB_address2 %] |
53 |
<li> |
54 |
[% IF ( mandatoryB_address2 ) %] |
55 |
<label for="B_address2" class="required"> |
56 |
[% ELSE %] |
57 |
<label for="B_address2"> |
58 |
[% END %] |
59 |
Address 2: </label> |
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 %] |
62 |
</li> |
63 |
[% END %] |
64 |
[% UNLESS noB_zipcode %] |
65 |
<li> |
66 |
[% IF ( mandatoryB_zipcode ) %] |
67 |
<label for="B_zipcode" class="required"> |
68 |
[% ELSE %] |
69 |
<label for="B_zipcode"> |
70 |
[% END %] |
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 %] |
74 |
</li> |
75 |
[% END %] |
76 |
[% UNLESS noB_city %] |
77 |
<li> |
78 |
[% IF ( mandatoryB_city ) %] |
79 |
<label for="B_city" class="required" > |
80 |
[% ELSE %] |
81 |
<label for="B_city"> |
82 |
[% END %] |
83 |
City: </label> |
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 %] |
86 |
</li> |
87 |
[% END %] |
88 |
[% UNLESS noB_state %] |
89 |
<li> |
90 |
[% IF ( mandatoryB_state ) %] |
91 |
<label for="B_state" class="required" > |
92 |
[% ELSE %] |
93 |
<label for="B_state"> |
94 |
[% END %] |
95 |
State: </label> |
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 %] |
98 |
</li> |
99 |
[% END %] |
100 |
[% UNLESS noB_country %] |
101 |
<li> |
102 |
[% IF ( mandatoryB_country ) %] |
103 |
<label for="B_country" class="required"> |
104 |
[% ELSE %] |
105 |
<label for="B_country"> |
106 |
[% END %] |
107 |
Country: </label> |
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 %] |
110 |
</li> |
111 |
[% END %] |
112 |
[% UNLESS noB_phone %] |
113 |
<li> |
114 |
[% IF ( mandatoryB_phone ) %] |
115 |
<label for="B_phone" class="required"> |
116 |
[% ELSE %] |
117 |
<label for="B_phone"> |
118 |
[% END %] |
119 |
Phone: </label> |
120 |
<input type="text" id="B_phone" name="B_phone" value="[% B_phone %]" /> |
121 |
[% IF ( mandatoryB_phone ) %]<span class="required">Required</span>[% END %] |
122 |
</li> |
123 |
[% END %] |
124 |
[% UNLESS noB_email %] |
125 |
<li> |
126 |
[% IF ( mandatoryB_email ) %] |
127 |
<label for="B_email" class="required"> |
128 |
[% ELSE %] |
129 |
<label for="B_email"> |
130 |
[% END %] |
131 |
Email: </label> |
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> |
134 |
[% END %] |
135 |
[% UNLESS nocontactnote %] |
136 |
<li> |
137 |
[% IF ( mandatorycontactnote ) %] |
138 |
<label for="contactnote" class="required"> |
139 |
[% ELSE %] |
140 |
<label for="contactnote"> |
141 |
[% END %] |
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 %] |
145 |
</li> |
146 |
[% END %] |
147 |
</ol> |
148 |
</fieldset> |