Sha256: ea09f2d9022afe5a6818a95a1de575ac08f115b828ee062c4baa73f1b1bc76a3
Contents?: true
Size: 428 Bytes
Versions: 5
Compression:
Stored size: 428 Bytes
Contents
module Trix module SimpleForm class TrixEditorInput < ::SimpleForm::Inputs::Base def input(_wrapper_options) editor_tag = template.content_tag('trix-editor', '', input: input_class, class: 'trix-content') hidden_field = @builder.hidden_field(attribute_name, input_html_options) template.content_tag('div', editor_tag + hidden_field, class: 'trix-editor-wrapper') end end end end
Version data entries
5 entries across 5 versions & 4 rubygems