Displaying 1 result from an estimated 1 matches for "advert_address_address".
2010 Dec 22
1
nested attributes form
...n I am on the edit action the nested attributes fields are
empty...
and I am using the same partial for the form.
Am I missing something? Why I don''t get the nested fields displayed?
<% form.fields_for :address do |address| %>
<% field do %>
<%= label_tag "advert_address_address", t(:address, :scope =>
[:activerecord, :attributes, :address]), :class => :label %>
<%= address.text_field :address %>
<%= address.hidden_field :lat %>
<%= address.hidden_field :lng %>
<% end %>
<% end %>
Greg
--
Posted via ht...