Method: Nitro::FileControl#render

Defined in:
lib/nitro/control/attribute/file.rb

#renderObject



12
13
14
15
16
17
# File 'lib/nitro/control/attribute/file.rb', line 12

def render
  %{
  #{emit_label}
  <input type="file" id="#{@attribute}_ctl" name="#{@attribute}" value="#{@object.send(@attribute)}"#{emit_style}#{emit_disabled} />
  }
end