Class: ODDB::View::Admin::MergeCommercialFormForm

Inherits:
Form
  • Object
show all
Includes:
HtmlGrid::ErrorMessage
Defined in:
src/view/admin/merge_commercial_form.rb

Constant Summary

LABELS =
false
COMPONENTS =
{
  [0,0,0] =>  :description,
  [0,0,1] =>  'merge_with',
  [1,0,2] =>  :commercial_form,
  [1,1]   =>  :submit,
}
EVENT =
'merge'
SYMBOL_MAP =
{
  :commercial_form  =>  HtmlGrid::InputText
}

Constants included from FormMethods

ACCEPT_CHARSET, DEFAULT_CLASS, EVENT

Instance Method Summary (collapse)

Methods included from FormMethods

#delete_item, #delete_item_warn, #get_event_button, #post_event_button

Instance Method Details

- (Object) description(model, offset)



24
25
26
# File 'src/view/admin/merge_commercial_form.rb', line 24

def description(model, offset)
  model.description(@lookandfeel.language)
end

- (Object) init



20
21
22
23
# File 'src/view/admin/merge_commercial_form.rb', line 20

def init
  super
  error_message()
end