Sha256: d2e57ef722b9afa2c3abff8dda05032ab1c00975f79e57fe505dc103a337f6a1
Contents?: true
Size: 372 Bytes
Versions: 2
Compression:
Stored size: 372 Bytes
Contents
module BootstrapPagedown module FormBuilder def pagedown_editor( method, options={}) @template.content_tag( :div, class: 'wmd-panel' ) do @template.content_tag( :div, nil, id: 'wmd-button-bar' ) + @template.text_area( @object_name, method, objectify_options( options ).merge( id: 'wmd-input', class: 'wmd-input' ) ) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bootstrap_pagedown-1.0.1 | lib/bootstrap_pagedown/form_builder.rb |
bootstrap_pagedown-1.0.0 | lib/bootstrap_pagedown/form_builder.rb |