I have partial _show.rhtml like this:
<% for column in DynText.content_columns %>
<%= in_place_editor_field :content, column.name, {}, :rows => 1 %>
<% end %>
and .rhtml file:
…some html…
<%= render :partial => ‘show’, :locals => { :id => 1 } %>
…some html…
<%= render :partial => ‘show’, :locals => { :id => 2 } %>
…some html…
and .rb file
…
@content = DynText.find(:all)
…
How should I edit these to get partial render correct data by id?