Convert determine_district view to ERB and expand address fields