Sha256: 3cc01a50be4f22f019961748573dd352cdb21f67886ee6cc6369968a92799eac
Contents?: true
Size: 375 Bytes
Versions: 2
Compression:
Stored size: 375 Bytes
Contents
require 'nitro/control/attribute' module Nitro class TextareaControl < AttributeControl setting :style, :default => 'width: 500px; height: 100px', :doc => 'The default style' def render %{ #{emit_label} <textarea id="#{@attribute}_ctl" name="#{@attribute}"#{emit_style}#{emit_disabled}>#{@object.send(@attribute)}</textarea> } end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nitro-0.41.0 | lib/nitro/control/attribute/textarea.rb |
nitro-0.40.0 | lib/nitro/control/attribute/textarea.rb |