<label for="streetnumber">
[% END %]
Street number: </label>
- <input type="text" id="streetnumber" name="streetnumber" size="5" value="[% streetnumber %]" />
+ <input type="text" id="streetnumber" name="streetnumber" size="5" value="[% patron.streetnumber %]" />
[% IF ( mandatorystreetnumber ) %]<span class="required">Required</span>[% END %]
[% END %]
<select name="streettype">
<option value=""></option>
[% FOR roadtype IN roadtypes %]
- [% IF roadtype.authorised_value == streettype %]
+ [% IF roadtype.authorised_value == patron.streettype %]
<option value="[% roadtype.authorised_value %]" selected="selected">[% roadtype.lib %]</option>
[% ELSE %]
<option value="[% roadtype.authorised_value %]">[% roadtype.lib %]</option>
<label for="address">
[% END %]
Address: </label>
- <input type="text" id="address" name="address" size="35" value="[% address %]" />
+ <input type="text" id="address" name="address" size="35" value="[% patron.address %]" />
[% IF ( mandatoryaddress ) %]<span class="required">Required</span>[% END %]
</li>
[% END %]
<label for="address2">
[% END %]
Address 2: </label>
- <input type="text" id="address2" name="address2" size="35" value="[% address2 %]" />
+ <input type="text" id="address2" name="address2" size="35" value="[% patron.address2 %]" />
[% IF ( mandatoryaddress2 ) %]<span class="required">Required</span>[% END %]
</li>
[% END %]
<label for="zipcode">
[% END %]
ZIP/Postal code: </label>
- <input type="text" name="zipcode" id="zipcode" size="10" value="[% zipcode %]" />
+ <input type="text" name="zipcode" id="zipcode" size="10" value="[% patron.zipcode %]" />
[% IF ( mandatoryzipcode ) %]<span class="required">Required</span>[% END %]
</li>
[% END %]
<label for="city">
[% END %]
City: </label>
- <input type="text" id="city" name="city" size="20" value="[% city %]" />
+ <input type="text" id="city" name="city" size="20" value="[% patron.city %]" />
[% IF cities.count %]or choose
<select id="select_city" name="select_city">
<option value="|||"></option>
[% FOREACH c IN cities %]
- [% IF c.city_name == city && c.city_state == state && c.city_zipcode == zipcode %]
+ [% IF c.city_name == patron.city && c.city_state == patron.state && c.city_zipcode == patron.zipcode %]
<option value="[% c.city_zipcode %]|[% c.city_name %]|[% c.city_state %]|[% c.city_country %]" selected="selected">
[% ELSE %]
<option value="[% c.city_zipcode %]|[% c.city_name %]|[% c.city_state %]|[% c.city_country %]">
<label for="state">
[% END %]
State: </label>
- <input type="text" name="state" id="state" size="20" value="[% state %]" />
+ <input type="text" name="state" id="state" size="20" value="[% patron.state %]" />
[% IF ( mandatorystate ) %]<span class="required">Required</span>[% END %]
</li>
[% END %]
<label for="country">
[% END %]
Country: </label>
- <input type="text" name="country" id="country" size="20" value="[% country %]" />
+ <input type="text" name="country" id="country" size="20" value="[% patron.country %]" />
[% IF ( mandatorycountry ) %]<span class="required">Required</span>[% END %]
</li>
[% END %]