</TD>
</TR>
% }
-% if ( $conf->config('tax_district_method') ) {
-% if ( $opt{enable_district} ) {
+% if ( $opt{enable_district} and $conf->config('tax_district_method') ) {
<TR>
<TD ALIGN="right">Tax district</TD>
<TD COLSPAN=8>
<% '(automatic)' %>
</TD>
</TR>
-% } else {
+% } else {
<INPUT TYPE="hidden" ID="<%$pre%>" NAME="<%$pre%>district" VALUE="<% $object->district %>">
-% }
% }
%# For address standardization:
%# keep a clean copy of the address so we know if we need
%# to re-standardize
% foreach (qw(address1 city state country zip latitude
-% longitude censustract addr_clean) ) {
+% longitude censustract district addr_clean) ) {
<INPUT TYPE="hidden" NAME="old_<%$pre.$_%>" ID="old_<%$pre.$_%>" VALUE="<% $object->get($_) |h%>">
% }
%# Placeholders