root/plugins/in_place_editing/README
| Revision 7441, 279 bytes (checked in by david, 8 months ago) |
|---|
| Line | |
|---|---|
| 1 | InPlaceEditing |
| 2 | ============== |
| 3 | |
| 4 | Example: |
| 5 | |
| 6 | # Controller |
| 7 | class BlogController < ApplicationController |
| 8 | in_place_edit_for :post, :title |
| 9 | end |
| 10 | |
| 11 | # View |
| 12 | <%= in_place_editor_field :post, 'title' %> |
| 13 | |
| 14 | Copyright (c) 2007 David Heinemeier Hansson, released under the MIT license |
Note: See TracBrowser for help on using the browser.