Sha256: adb133bb5cb526833d21dbeb4c51f9423e71785a375a0f4b4109e7e66f324ad7
Contents?: true
Size: 581 Bytes
Versions: 2
Compression:
Stored size: 581 Bytes
Contents
:ruby url = (ENV['RAILS_URL'].blank? || ENV['RAILS_RELATIVE_URL_ROOT'].blank?) ? "http://localhost:3000/" : "#{ENV['RAILS_URL']}#{ENV['RAILS_RELATIVE_URL_ROOT']}/" js_data = { jspath: field.location ? field.location : url + field.base_location + "ckeditor.js", base_location: url, options: { customConfig: field.config_js ? field.config_js : field.base_location + "config.js" } } = form.text_area field.method_name, field.html_attributes.reverse_merge(data: { richtext: 'ckeditor', options: js_data.to_json }).reverse_merge({ value: field.form_value })
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails_admin_ui_layout_taris-1.2.24 | app/views/rails_admin/main/_form_ck_editor.html.haml |
rails_admin_ui_layout_taris-1.2.22 | app/views/rails_admin/main/_form_ck_editor.html.haml |