Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
InPlaceEditing plugin
branch: master

This branch is 25 commits ahead of rails:master

Merge pull request #3 from MaxLap/master

Fix on_complete and on_failure. Add 2 options
latest commit 471ecd884b
Mark Turner authored
Failed to load latest commit information.
lib Add raw_options option
test
.gitignore
.travis.yml
Gemfile
README.rdoc
Rakefile
in_place_editing.gemspec
init.rb

README.rdoc

in_place_editing

A Rails plugin for in-place editing fields.

Installation

In the Gemfile:

gem 'in_place_editing'

Usage

In your controller define what model and fields you want in-place editing support for.

class BlogController < ApplicationController
  in_place_edit_for :post, :title
end

In a view tell it where to place the JS and data.

<%= in_place_editor_field :post, 'title' %>

Copyright © 2007 David Heinemeier Hansson, released under the MIT license

Something went wrong with that request. Please try again.