:ruby js_data = { :csspath => field.css_location, :jspath => field.js_location, :config_options => field.config_options.to_json } = render 'form', form: form, field: field, field_type: :text_area, html_attributes: field.html_attributes.reverse_merge(:data => { :richtext => 'bootstrap-wysihtml5', :options => js_data.to_json })