Sha256: d6f17b09e961fd8d50fbaa38e80639af5801bbc18792deddfe86db9385cb3c44
Contents?: true
Size: 565 Bytes
Versions: 5
Compression:
Stored size: 565 Bytes
Contents
module MasterView module Directives class TextArea < MasterView::DirectiveBase metadata :priority => :default, :category => 'form', :description => 'Replaces the element with a textarea input element using the Rails text_area helper.', :element_usage => 'textarea' attr_arg :obj, :quote => true attr_arg :method, :quote => true attr_arg :options, :append_element_attrs => [:common_html] event :element do render erb_content( 'text_area', :obj, :method, :options ) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems