Class: Wee::Brush::FileUploadTag
- Inherits:
-
InputTag
- Object
- Wee::Brush
- GenericTagBrush
- GenericSingleTagBrush
- InputTag
- Wee::Brush::FileUploadTag
- Defined in:
- lib/wee/html_brushes.rb
Overview
Use a <form> tag with enctype_multipart!
Constant Summary collapse
- HTML_TYPE =
'file'.freeze
Constants inherited from InputTag
Instance Attribute Summary
Attributes inherited from Wee::Brush
Instance Method Summary collapse
-
#initialize ⇒ FileUploadTag
constructor
A new instance of FileUploadTag.
Methods inherited from InputTag
Methods included from CallbackMixin
#call, #callback, #callback_method
Methods inherited from GenericSingleTagBrush
Methods inherited from GenericTagBrush
#get_oid, html_attr, #oid, #onclick_callback, #onclick_javascript, #onclick_update_callback, #onclick_update_self_callback, #ondblclick_callback, #with
Methods inherited from Wee::Brush
#close, nesting?, #setup, #with
Constructor Details
#initialize ⇒ FileUploadTag
Returns a new instance of FileUploadTag.
433 434 435 |
# File 'lib/wee/html_brushes.rb', line 433 def initialize super(HTML_TYPE) end |