Class: ODDB::View::Admin::AssignPatinfoComposite

Inherits:
HtmlGrid::Composite show all
Includes:
HtmlGrid::ErrorMessage
Defined in:
src/view/admin/assign_patinfo.rb

Constant Summary

COMPONENTS =
{
  [0,0] => :name,
  [0,1] => View::Admin::SearchField,
  [0,2] => View::Admin::AssignPatinfoForm,
}
CSS_CLASS =
'composite'
CSS_MAP =
{
  [0,0] => 'th',
}
DEFAULT_CLASS =
HtmlGrid::Value
LEGACY_INTERFACE =
false

Instance Method Summary (collapse)

Methods inherited from HtmlGrid::Composite

event_link, #hash_insert_col, #hash_insert_row

Instance Method Details

- (Object) init



50
51
52
53
# File 'src/view/admin/assign_patinfo.rb', line 50

def init
  super
  error_message(1)
end

- (Object) name(model)



54
55
56
# File 'src/view/admin/assign_patinfo.rb', line 54

def name(model)
  @lookandfeel.lookup(:assign_patinfo_explain, model.name_base)
end