Displaying 1 result from an estimated 1 matches for "4df64555".
Did you mean:
  464555
  
2006 Apr 04
3
How to use in_place_editor_field ?
Hello, I really don''t understand how to use in_place_editor_field
In my controller :
class Admin::CategoriesController < Admin::BaseController
  in_place_edit_for :category, :title
  def list
    @categories = Category.find_all
  end
end
In the view list.rhtml
<% @categories.each do |c| %>
  <td><%= in_place_editor_field :c, c.title %></td>
  # snip
<%