<!-----------------------------------------------------------------------------------
Reid, the problem is, how to generate the first parameter of the 'test( ????,'field error','field')'.
-->
<div metal:define-macro="updateAddressInfo">
<fieldset>
<legend tal:content="python: aname + ' Address Information'"
i18n:translate="legend_update_address_information">
</legend>
<table border=0>
<tr><td>
<!-- Payee Address Line 1
-->
<div class="field"
tal:define="error errors/${aname}_address1|nothing';"
tal:attributes="class python: test(error,
'field error',
'field')">
<label tal:attributes="i18n:translate string:label_${aname}_address1'"
title="First line of address.">Address Line #1</label>
<span class="fieldRequired" title="Required">(Required)</span>
<input type="text"
tal:attributes="tabindex tabindex/next;
name string:${aname}_address1;
value request/python: aname+'_address1'|address1;"/>
</div>
</td></tr>
<tr><td>