How do you do an in_place_editor_field in a for loop so each item will
have that available like in an index action? Is it possible?
<% for note in @notes %>
<tr>
<td><%=h note.label %></td>
<td><%=h note.start_time %></td>
<td><%=h note.end_time %></td>
<td><%= in_place_editor_field :note, :log %></td>
<td><%= link_to ''Show'', note %></td>
<td><%= link_to ''Edit'', edit_note_path(note)
%></td>
<td><%= link_to ''Destroy'', note, :confirm =>
''Are you
sure?'', :method => :delete %></td>
</tr>
<% end %>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---