Displaying 1 result from an estimated 1 matches for "contact_town_id".
2005 Dec 23
2
Bizarre problems with AJAX / missing variables
...:locals
=> { :county => @county.id, :rawcode => rawcode }
else
render :partial => "nielocaladdress", :layout => false
end
end
and the relevant code for the contacts/roilocaladdress partial:
<div class="form-group">
<label for="contact_town_id">Town / Dublin area [<%= county %>|<%=
rawcode %>]:</label>
<% unless county.nil? %>
<%= select(''contact'', ''town_id'', Town.find(:all, :conditions => [
''county_id = ?'', county ] ).collect {|t| [ t.nam...