Skip to navigation
How to add a simple inplace editor for rails ajax?
07.12.13
1. add at your layout: <%= javascript_include_tag :defaults %> 2. add in your views <% for person in @persons %> <%= @person = person %><%= in_place_editor_field :person, 'age' %> 3. add in you controller: in_place_edit_for :person, :age
Reply
Anonymous
how to add a simple inplace editor for rails ajax?
1. add at your layout: <%= javascript_include_tag :defaults %> 2. add in your views <% for person in @persons %> <%= @person = person %><%= in_place_editor_field :person, 'age' %> 3. add in you controller: in_place_edit_for :person, :age
07.12.13
Reply
Anonymous
Information Epoch 1732364658
Distrust all claims for one true way.
Home
Notebook
Contact us