| Module | InPlaceEditorHelper |
| In: |
app/helpers/in_place_editor_helper.rb
|
Custom in-place editing
# File app/helpers/in_place_editor_helper.rb, line 3 3: def in_place_editor_field(record_symbol, attribute_symbol, record, script = false, truncate_to = nil, value = nil, enter_edit_mode = false) 4: render :partial => "shared/inline", :locals => { :record_symbol => record_symbol, :attribute_symbol => attribute_symbol, 5: :record => record, :script => script, :truncate_to => truncate_to, :value => value, :enter_edit_mode => enter_edit_mode } 6: end