Class: BBMB::Html::View::TransferDat

Inherits:
HtmlGrid::SpanComposite
  • Object
show all
Includes:
HtmlGrid::FormMethods
Defined in:
lib/bbmb/html/view/current_order.rb

Constant Summary collapse

COMPONENTS =
{
  [0,0] => :file_chooser,
  [1,0] => :submit,
}
EVENT =
:transfer
FORM_ID =
'transfer-dat'
FORM_NAME =
'transfer_dat'
SYMBOL_MAP =
{
  :file_chooser => HtmlGrid::InputFile, 
}
TAG_METHOD =
:multipart_form

Instance Method Summary collapse

Constructor Details

#initialize(event, *args) ⇒ TransferDat

Returns a new instance of TransferDat.



218
219
220
221
# File 'lib/bbmb/html/view/current_order.rb', line 218

def initialize(event, *args)
  @event = event
  super(*args)
end

Instance Method Details

#eventObject



222
223
224
# File 'lib/bbmb/html/view/current_order.rb', line 222

def event
  @event || super
end