Displaying 1 result from an estimated 1 matches for "_emphasized_".
Did you mean:
_emphasize_
2006 Feb 18
3
Edit in Place
I need help using In Place Editor by script.aculo.us
#controller
def my_action
#get the text to display initially
@fancy_text = "Some fancy *bold* and _emphasized_ text."
end
def update_text
#save your text here, and return the saved value
@fancy_text = params[:value]
render :layout => false, :inline => "<%= textilize( @fancy_text )
%>"
end
def return_unformatted_text
#get your text and return it without the forma...