Sha256: 86cdcd42ea7e0b5773237d79a5359dec9c5dba920f02e026231a9673ca3742f0

Contents?: true

Size: 407 Bytes

Versions: 6

Compression:

Stored size: 407 Bytes

Contents

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

- input_html = field.html_attributes.reverse_merge(:data => { :richtext => 'bootstrap-wysihtml5', :options => js_data.to_json })
= form.input field.method_name, as: :text, label: field.label, hint: field.help, required: field.required?, input_html: input_html

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
basepack-1.0.1 app/views/forms/edit/_form_wysihtml5.html.haml
basepack-1.0.0 app/views/forms/edit/_form_wysihtml5.html.haml
basepack-1.0.0.pre.0 app/views/forms/edit/_form_wysihtml5.html.haml
basepack-0.2.0 app/views/forms/edit/_form_wysihtml5.html.haml
basepack-0.1.0 app/views/forms/edit/_form_wysihtml5.html.haml
basepack-0.0.2 app/views/forms/edit/_form_wysihtml5.html.haml