Class: ODDB::View::Admin::MergeGalenicFormForm

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

Constant Summary

LABELS =
false
COMPONENTS =
{
  [0,0,0] =>  :description,
  [0,0,1] =>  'merge_with',
  [1,0,2] =>  :galenic_form,
  [1,1]   => :submit,
}
EVENT =
'merge'
SYMBOL_MAP =
{
  :galenic_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)



30
31
32
# File 'src/view/admin/mergegalenicform.rb', line 30

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

- (Object) init



26
27
28
29
# File 'src/view/admin/mergegalenicform.rb', line 26

def init
  super
  error_message()
end