Skip to content

materialvision/in_place_editing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InPlaceEditing with acts_as_textiled support (based on Juan E. Bernabo)
and added options for colours when hovering
Works well with git://github.com/lawrencepit/acts_as_textiled.git
============================================

Example:

  # Model
  class Post < ActiveRecord::Base
    acts_as_textiled :body
  end

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

  # View
  <%= in_place_editor_field :post, 'body', {}, :highlight_color => '#d2fdf1', :highlightend_color => '#dcffe9' %>

Copyright (c) 2007 David Heinemeier Hansson, released under the MIT license  
Copyright (c) 2009 Juan Esteban Bernabó
Copyright (c) 2009 Espen Sommer Eide

About

in_place_editing with act_as_textile support and added options for colours when hovering

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages