Skip to content

Instantly share code, notes, and snippets.

@leepfrog
Forked from anonymous/gist:176079
Created August 27, 2009 05:07
Show Gist options
  • Save leepfrog/176083 to your computer and use it in GitHub Desktop.
Save leepfrog/176083 to your computer and use it in GitHub Desktop.
$(document).ready(function() {
$('.team_title').editable("name", {
type : 'text',
rows : 8,
authenticity_token: encodeURIComponent('<%= form_authenticity_token if protect_against_forgery? %>'),
cancel : 'Cancel',
submit : 'OK',
tooltip : 'Double-click to edit...',
})
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment