open source projects

by Flvorful.com

SuperInPlaceControls

download & install docs demo

Latest news

Nov 2: new version of SuperInPlaceControls plugin released with support for Rails 2.1 and 2.3. Also added better jquery support and validation support

Links:

SuperInPlaceControls: Download & Install

Install

Step 1

script/plugin install git://github.com/flvorful/super_inplace_controls.git

Step 2

Add "in_place_styles" to your stylesheet_link_tag call

example:

<%= stylesheet_link_tag "main", "blah", "in_place_styles"  %>

Step 3 (Optional)

Add

inplace_error_div

to the pages you want to in_place_edit on. This will be the div that errors get inserted into. We recommend putting it in the layout so you dont have to remember to show it.

If you dont use the an error_div the plugin will skip over listing each error and just add the class "fieldWithError" to proper input tag.

Step 4 (Optional. Not needed with jQuery)

Add

calendar_date_select_includes "blue"

to the pages you want to use the calendar select on. The other styles for the calendar_date_select are "blue", "plain", "red", "silver", "default"