Sha256: a2641e2333a0cce801ffe9199dcdf619b96e99e6bce2e1ba045bcafc30f0d8c7

Contents?: true

Size: 875 Bytes

Versions: 20

Compression:

Stored size: 875 Bytes

Contents

ruby:
  js_data = {
    jspath: field.location ? field.location : field.base_location + "ckeditor.js",
    base_location: field.base_location,
    options: {
      customConfig: field.config_js ? field.config_js : field.base_location + "config.js"
    }
  }
  _html_attributes = field.html_attributes.reverse_merge(data: { richtext: 'ckeditor', options: js_data.to_json, value: field.form_value[:html] })
= form.text_area field.html_method, _html_attributes

label{style='display: block;'}
  - _hash = { value: field.form_value[:clear], checked: field.form_value[:clear].in?([true, '1']), required: false, class: "form-control"}
  - _html_attributes = field.html_attributes.reverse_merge(_hash)
  span{style='float: left'}= form.send field.boolean_view_helper, field.clear_method, _html_attributes
  div{style='margin-left: 35px; line-height: 40px;'} Убирать теги

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
hancock_cms-1.0.1 app/views/rails_admin/main/_hancock_html.html.slim
hancock_cms-2.0.0.2 app/views/rails_admin/main/_hancock_html.html.slim
hancock_cms-1.0.0.4 app/views/rails_admin/main/_hancock_html.html.slim
hancock_cms-1.0.0.3 app/views/rails_admin/main/_hancock_html.html.slim
hancock_cms-2.0.0.1 app/views/rails_admin/main/_hancock_html.html.slim
hancock_cms-1.0.0.2 app/views/rails_admin/main/_hancock_html.html.slim
hancock_cms-2.0.0 app/views/rails_admin/main/_hancock_html.html.slim
hancock_cms-1.0.0 app/views/rails_admin/main/_hancock_html.html.slim
enjoy_cms-0.4.1 app/views/rails_admin/main/_enjoy_html.html.slim
enjoy_cms-0.4.0.5 app/views/rails_admin/main/_enjoy_html.html.slim
enjoy_cms-0.4.0.4 app/views/rails_admin/main/_enjoy_html.html.slim
enjoy_cms-0.4.0.3 app/views/rails_admin/main/_enjoy_html.html.slim
enjoy_cms-0.4.0.2 app/views/rails_admin/main/_enjoy_html.html.slim
enjoy_cms-0.4.0.1 app/views/rails_admin/main/_enjoy_html.html.slim
enjoy_cms-0.4.0 app/views/rails_admin/main/_enjoy_html.html.slim
enjoy_cms-0.4.0.beta3 app/views/rails_admin/main/_enjoy_html.html.slim
enjoy_cms-0.3.7.4 app/views/rails_admin/main/_enjoy_html.html.slim
enjoy_cms-0.3.7.3 app/views/rails_admin/main/_enjoy_html.html.slim
enjoy_cms-0.3.7.2 app/views/rails_admin/main/_enjoy_html.html.slim
enjoy_cms-0.3.7.1 app/views/rails_admin/main/_enjoy_html.html.slim