Sha256: dfd8dbdfbb692d08d41f2f32ae484213d8bf6acd889465bb7716deda5cb3859a
Contents?: true
Size: 469 Bytes
Versions: 9
Compression:
Stored size: 469 Bytes
Contents
module InlineFormsHelper InlineForms::SPECIAL_MIGRATION_TYPES[:text_area]=:text # text_area def text_area_show(object, attribute, values) link_to_inline_edit object, attribute, object.send(attribute), nil end def text_area_edit(object, attribute, values) text_area_tag attribute, object[attribute], :class => 'field_text_area' end def text_area_update(object, attribute, values) object[attribute.to_sym] = params[attribute.to_sym] end end
Version data entries
9 entries across 9 versions & 1 rubygems