Sha256: b91c3278e35d8868e81658d5f0069efe03387b8527abc73b69a9787cb76b4bab

Contents?: true

Size: 444 Bytes

Versions: 4

Compression:

Stored size: 444 Bytes

Contents

/ Example
/   = wcms_component 'forms/javascript_editor',
/     form: f,
/     attribute: :design_javascript,
/     value: @page_edition.design_javascript
/

ruby:
  form ||= nil
  attribute ||= nil
  html_class ||= 'form-control'
  value ||= nil
  embedded_image_url ||= wcms_components_embedded_images_url

.ace_javascript_editor
  = wcms_component("forms/text_area", {form: form, attribute: attribute, html_class: html_class, value: value})

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
biola_wcms_components-0.23.0 app/views/wcms_components/forms/_javascript_editor.html.slim
biola_wcms_components-0.22.0 app/views/wcms_components/forms/_javascript_editor.html.slim
biola_wcms_components-0.21.0 app/views/wcms_components/forms/_javascript_editor.html.slim
biola_wcms_components-0.20.0 app/views/wcms_components/forms/_javascript_editor.html.slim