I want to change how the in_place_editing view looks like. I want to change the button text and o开发者_StackOverflowther view related things in the in_place_editing plugin
I am trying with this code
<%= in_place_editor_field :contact,:address_line1,:saving_text =>"Update"%>
But nothing is getting changed. How else can I pass options to in_place_editor_field
Did you place the following in your controller?
in_place_edit_for :contact_, :address_line1
(as described here)
Also, do you have any warning or error in the Javascript console of your browser?
精彩评论