Sha256: 71afd2efcbf1864ee2a6045680095c8984683484520955c26476656d81da9938

Contents?: true

Size: 442 Bytes

Versions: 6

Compression:

Stored size: 442 Bytes

Contents

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]
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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
inline_forms-1.3.12 lib/app/helpers/form_elements/text_area_without_ckeditor.rb
inline_forms-1.3.11 lib/app/helpers/form_elements/text_area_without_ckeditor.rb
inline_forms-1.3.10 lib/app/helpers/form_elements/text_area_without_ckeditor.rb
inline_forms-1.3.9 lib/app/helpers/form_elements/text_area_without_ckeditor.rb
inline_forms-1.3.8 lib/app/helpers/form_elements/text_area_without_ckeditor.rb
inline_forms-1.3.7 lib/app/helpers/form_elements/text_area_without_ckeditor.rb