Sha256: a29ad04f1b889132069628b0776119a59a558c241c7fa7b03177ccf6d1374b74
Contents?: true
Size: 453 Bytes
Versions: 1
Compression:
Stored size: 453 Bytes
Contents
= form.send field.view_helper, field.method_name, field.html_attributes - if field.ckeditor -# needed for modal windows = javascript_tag do var CKEDITOR_BASEPATH = '/javascripts/ckeditor/'; = javascript_include_tag "/javascripts/ckeditor/ckeditor.js" = javascript_tag do jQuery(function($) { if(!$("#modal").length){ CKEDITOR.replace('#{field.dom_id}', { customConfig : '#{field.ckeditor_config_js.html_safe}' }); } });
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
elucid-rails_admin-0.0.1 | app/views/rails_admin/main/_form_text.html.haml |