Displaying 1 result from an estimated 1 matches for "my_country".
Did you mean:
cr_country
2005 Dec 23
2
Bizarre problems with AJAX / missing variables
...#39;'town_id'', Town.find_all.collect {|t| [
t.name + ", Co. " + t.county.name, t.id ] }, { :include_blank => true
}) %>
<% end %>
</div>
and the relevant code for the parent partial, contacts/irishaddress:
<div id="ADDLOCAL">
<% if my_country == 1 %>
<%= render :partial => ''contacts/roilocaladdress'', :locals => {
:county => nil } %>
<% else %>
<%= render :partial => ''contacts/nielocaladdress'', :locals => {
:county => nil } %>
<% end %>
</div>
Does an...