Displaying 1 result from an estimated 1 matches for "address_attribut".
Did you mean:
address_attributes
2008 Mar 14
1
how do i get country_select and select to show values
...and index they just wont appear,
I have tried to edited it to how do I go about showing these items
everywhere i am completely stuck.
if text field = f.text_field
then why doesnt country_select = f.country_select or f.select?
<div class="address">
<% fields_for "supplier[address_attributes][]", address do |f|%>
<p><b>Country</b><br /><%= country_select (:country,"country",["United
Kingdom"]) %></p>
<
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received...