Sha256: 0879dd4f812ec75d9ceb2ff6736b8ffce03dbf101a9eb9a09a84e0ee6ff7379c

Contents?: true

Size: 360 Bytes

Versions: 5

Compression:

Stored size: 360 Bytes

Contents

= javascript_include_tag "ckeditor/init"

- if field.respond_to? :form_value
  = form.cktext_area field.method_name, field.html_attributes.reverse_merge(value: field.form_value )
- else
  = form.cktext_area field.method_name, field.html_attributes.reverse_merge((hdv = field.html_default_value).nil? ? { :value => field.formatted_value } : { :value => hdv })

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
glebtv-ckeditor-4.3.2.2 app/views/rails_admin/main/_form_ckeditor.html.haml
glebtv-ckeditor-4.3.2.1 app/views/rails_admin/main/_form_ckeditor.html.haml
glebtv-ckeditor-4.3.2.0 app/views/rails_admin/main/_form_ckeditor.html.haml
glebtv-ckeditor-4.2.1.5 app/views/rails_admin/main/_form_ckeditor.html.haml
glebtv-ckeditor-4.2.1.4 app/views/rails_admin/main/_form_ckeditor.html.haml