module InlineEditor::ApplicationHelper
Public Instance Methods
inline_editor(as: '', text: '', collection: '', value: '', include_blank: '', save_url: '', param: '', &block)
click to toggle source
# File lib/inline_editor.rb, line 5 def inline_editor(as: '', text: '', collection: '', value: '', include_blank: '', save_url: '', param: '', &block) text = capture(&block) if block_given? render 'inline_editor/inline_editor', as: as, text: text, collection: collection, value: value, include_blank: include_blank, save_url: save_url, param: param end