Sha256: 0b1414048db4bf2687dfacc4e76e13c2001673dcf5f842cd862ed9b3904776e6

Contents?: true

Size: 408 Bytes

Versions: 1

Compression:

Stored size: 408 Bytes

Contents

:ruby
  js_data = {
    :csspath => field.css_location,
    :jspath => field.js_location,
    :config_options => field.config_options.to_json
  }

= form.text_area field.method_name, field.html_attributes.reverse_merge(:data => { :richtext => 'bootstrap-wysihtml5', :options => js_data.to_json }).reverse_merge((hdv = field.html_default_value).nil? ? { :value => field.formatted_value } : { :value => hdv })

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_admin-0.5.0 app/views/rails_admin/main/_form_wysihtml5.html.haml