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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to