Method: Nitro::TextControl#render
- Defined in:
- lib/nitro/control/attribute/text.rb
#render ⇒ Object
8 9 10 11 12 13 |
# File 'lib/nitro/control/attribute/text.rb', line 8 def render %{ #{emit_label} <input type="text" id="#{@attribute}_ctl" name="#{@attribute}" value="#{@object.send(@attribute)}"#{emit_style}#{emit_disabled} /> } end |