cider-load-test / jrails_in_place_editing Goto Github PK
View Code? Open in Web Editor NEWThis project forked from rakuto/jrails_in_place_editing
Edit in place plugin for jRails.
License: MIT License
This project forked from rakuto/jrails_in_place_editing
Edit in place plugin for jRails.
License: MIT License
JrailsInPlaceEditing ==================== Edit in place for jRails. Example ======= # Controller class BlogController < ApplicationController in_place_edit_for :post, :title end # Customize the action that update the value class BlogController < ApplicationController # set_#{object}_#{title} def set_post_title post = Post.find(params[:id]) post.title = params[:value] # Name of parameter is always 'value'. post.save # It should render a text render :text => post.title end end # View <%= in_place_editor_field :post, :title %> # Pass some options <%= in_place_editor_field :post, :title, {}, {:field_type => 'textarea', :textarea_cols => 25, :textarea_rows => 10}%> <%= in_place_editor_field :post, :title, {}, {:field_type => 'textarea', :textarea_rows => 10}%> For more details, see comments in jrails_in_place_macros.rb. Dual Licenses ================ This plugin uses implementaion of in-place editor for jQuery, created by Rakuto Furutani Implementation of in-place editor for jQuery that created by David Hauenstein is used. Thank you. Copyright (c) 2008 Rakuto Furutani, released under the MIT license
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.