enhanced InPlaceEditing plugin
Ruby
Switch branches/tags
Nothing to show
Pull request Compare This branch is 13 commits ahead, 1 commit behind rails:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
README
Rakefile
TODO
init.rb

README

InPlaceEditing
==============

Example:

  # Controller
  class BlogController < ApplicationController
    in_place_edit_for :post, :title
  end

  # View
  <%= in_place_editor_field :post, 'title' %>
  or
  <%= in_place_editor_field @post, 'title' %>
  or
  <%= in_place_editor_field @post, 'title', {}, :text_if_blank => 'click here to edit' %>

Copyright (c) 2007 David Heinemeier Hansson, released under the MIT license