Bug 15091: DEBT is IMPOSSIBLE, not NEEDSCONFIRMATION
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / includes / member-main-address-style-us.inc
1 <fieldset class="rows" id="memberentry_mainaddress">
2     <legend id="main_address_lgd">Main address</legend><ol>
3         [% UNLESS nostreetnumber %]
4     <li>
5       [% IF ( mandatorystreetnumber ) %]
6       <label for="streetnumber" class="required">
7       [% ELSE %]
8       <label for="streetnumber">
9       [% END %]
10       Street number: </label>
11         <input type="text" id="streetnumber" name="streetnumber" size="5" value="[% streetnumber %]" />
12 [% IF ( mandatorystreetnumber ) %]<span class="required">Required</span>[% END %]
13     </li>
14         [% END %]
15         [% UNLESS nostreettype %]
16     [% IF roadtypes %]
17       <li>
18       [% IF ( mandatorystreettype ) %]
19       <label for="streettype" class="required">
20       [% ELSE %]
21       <label for="streettype">
22       [% END %]
23       Street type: </label>
24       <select name="streettype">
25         <option value=""></option>
26         [% FOR roadtype IN roadtypes %]
27           [% IF roadtype.selected %]
28             <option value="[% roadtype.authorised_value %]" selected="selected">[% roadtype.lib %]</option>
29           [% ELSE %]
30             <option value="[% roadtype.authorised_value %]">[% roadtype.lib %]</option>
31           [% END %]
32         [% END %]
33       </select>
34       [% IF ( mandatorystreettype ) %]<span class="required">Required</span>[% END %]
35       </li>
36     [% END %]
37         [% END %]
38         [% UNLESS noaddress %]
39     <li>
40       [% IF ( mandatoryaddress ) %]
41       <label for="address" class="required">
42       [% ELSE %]
43       <label for="address">
44       [% END %]
45       Address: </label>
46             <input type="text" id="address" name="address" size="35" value="[% address %]" />
47       [% IF ( mandatoryaddress ) %]<span class="required">Required</span>[% END %]
48     </li>
49         [% END %]
50         [% UNLESS noaddress2 %]
51     <li>
52       [% IF ( mandatoryaddress2 ) %]
53       <label for="address2" class="required">
54       [% ELSE %]
55       <label for="address2">
56       [% END %]
57       Address 2: </label>
58             <input type="text" id="address2" name="address2" size="35" value="[% address2 %]" />
59       [% IF ( mandatoryaddress2 ) %]<span class="required">Required</span>[% END %]
60     </li>
61         [% END %]
62         [% UNLESS nocity %]
63     <li>
64       [% IF ( mandatorycity ) %]
65         <label for="city" class="required">
66       [% ELSE %]
67         <label for="city">
68       [% END %]
69       City: </label>
70         <input type="text" id="city" name="city" size="20" value="[% city %]" />
71         [% IF ( city_cgipopup ) %]or <strong>choose</strong>
72         <select id="select_city" name="select_city">
73         [% FOREACH city_loo IN city_loop %]
74             [% IF ( city_loo.selected ) %]
75             <option value="[% city_loo.city_zipcode %]|[% city_loo.city_name %]|[% city_loo.city_state %]|[% city_loo.city_country %]" selected="selected">
76             [% ELSE %]
77             <option value="[% city_loo.city_zipcode %]|[% city_loo.city_name %]|[% city_loo.city_state %]|[% city_loo.city_country %]">
78             [% END %]
79                 [% city_loo.city_name %] [% city_loo.city_state %] [% city_loo.city_zipcode %]
80             </option>
81         [% END %]
82         </select>
83         [% END %]
84       [% IF ( mandatorycity ) %]<span class="required">Required</span>[% END %]
85     </li>
86         [% END %]
87         [% UNLESS nostate %]
88     <li>
89       [% IF ( mandatorystate ) %]
90         <label for="state" class="required">
91       [% ELSE %]
92         <label for="state">
93       [% END %]
94       State: </label>
95       <input type="text" name="state" id="state" size="20" value="[% state %]" />
96       [% IF ( mandatorystate ) %]<span class="required">Required</span>[% END %]
97     </li>
98         [% END %]
99         [% UNLESS nozipcode %]
100     <li>
101       [% IF ( mandatoryzipcode ) %]
102         <label for="zipcode" class="required">
103       [% ELSE %]
104         <label for="zipcode">
105       [% END %]
106       Zip/Postal code: </label>
107             <input type="text" name="zipcode" id="zipcode" size="10" value="[% zipcode %]" />
108       [% IF ( mandatoryzipcode ) %]<span class="required">Required</span>[% END %]
109     </li>
110         [% END %]
111         [% UNLESS nocountry %]
112     <li>
113       [% IF ( mandatorycountry ) %]
114         <label for="country" class="required">
115       [% ELSE %]
116         <label for="country">
117       [% END %]
118       Country: </label>
119         <input type="text" name="country" id="country" size="20" value="[% country %]" />
120       [% IF ( mandatorycountry ) %]<span class="required">Required</span>[% END %]
121     </li>
122         [% END %]
123     </ol>
124 </fieldset>