Sha256: 8f7b93df3622cf099acf1b36935905790e753dabcc82996b800ee1ffa3afe044
Contents?: true
Size: 826 Bytes
Versions: 3
Compression:
Stored size: 826 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" } } = form.text_area "#{field.method_name}_html", field.html_attributes.reverse_merge(data: { richtext: 'ckeditor', options: js_data.to_json }).reverse_merge({ value: field.form_value[:html] }) label{style='display: block;'} span{style='float: left'}= form.send field.boolean_view_helper, "#{field.method_name}_clear", field.html_attributes.reverse_merge({ value: field.form_value[:clear], checked: field.form_value[:clear].in?([true, '1']), required: field.required, class: "form-control"}) div{style='margin-left: 35px; line-height: 40px;'} Убирать теги
Version data entries
3 entries across 3 versions & 1 rubygems