Sha256: ecc38dfb1bdff44aca833a766679bd103e7af0294146caa6b21d1b6105ddfde3

Contents?: true

Size: 416 Bytes

Versions: 4

Compression:

Stored size: 416 Bytes

Contents

/ Example
/   = wcms_component 'forms/css_editor',
/     form: f,
/     attribute: :design_css,
/     value: @page_edition.design_css
/

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

.ace_css_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/_css_editor.html.slim
biola_wcms_components-0.22.0 app/views/wcms_components/forms/_css_editor.html.slim
biola_wcms_components-0.21.0 app/views/wcms_components/forms/_css_editor.html.slim
biola_wcms_components-0.20.0 app/views/wcms_components/forms/_css_editor.html.slim