Class: Nitro::Form::TextareaControl

Inherits:
Control
  • Object
show all
Defined in:
lib/nitro/helper/form/controls.rb

Overview

Textarea

Instance Attribute Summary

Attributes inherited from Control

#obj, #prop, #value

Instance Method Summary collapse

Methods inherited from Control

fetch, #initialize, #label, #on_populate

Methods included from XhtmlHelper

#date_select, #datetime_select, #hidden, #href_of, #js_popup, #link_to, #onclick_popup, #options, #popup, #submit, #time_select

Constructor Details

This class inherits a constructor from Nitro::Form::Control

Instance Method Details

#renderObject



154
155
156
# File 'lib/nitro/helper/form/controls.rb', line 154

def render
  %{<textarea id="#{prop.symbol}_ctl" name="#{prop.symbol}"#{emit_style}#{emit_disabled}>#{value}</textarea>}        
end