Displaying 1 result from an estimated 1 matches for "pp_role".
Did you mean:
lv_role
2008 May 02
1
names of select elements inside a fields_for block not generated as expected
...le?''})
%>
</p>
<% end %>
<% end %>
<% end %>
I get the expected series of 3 <select>s, but their names are not
automatically indexed. So I get:
<select id="pp_person_id" name="pp[person_id]">
<select id="pp_role" name="pp[role] ">
Rather than this:
<select id="pp_person_id"
name="project[proj_people_attributes][1][person_id]">
<select id="pp_role"
name="project[proj_people_attributes][1][role] ">
(At least I *think* t...