Sha256: 9dbc59dd2055a37ce25689a4fb5bcaccaaf2f9bfc7e686b198a514d7a5e78aaa
Contents?: true
Size: 642 Bytes
Versions: 48
Compression:
Stored size: 642 Bytes
Contents
# -*- encoding : utf-8 -*- InlineForms::SPECIAL_COLUMN_TYPES[:text_area_without_ckeditor]=:text def text_area_without_ckeditor_show(object, attribute) link_to_inline_edit object, attribute, (object[attribute].nil? || object[attribute].empty?) ? "<i class='fi-plus'></i>".html_safe : object[attribute] end def text_area_without_ckeditor_edit(object, attribute) text_area_tag attribute, object[attribute], :class => 'attribute_text_area' end def text_area_without_ckeditor_update(object, attribute) object[attribute.to_sym] = params[attribute.to_sym] end def text_area_without_ckeditor_info(object, attribute) object[attribute] end
Version data entries
48 entries across 48 versions & 1 rubygems