Class: ODDB::View::Admin::OrphanedPatinfoComposite

Inherits:
HtmlGrid::Composite show all
Defined in:
src/view/admin/orphaned_patinfo.rb

Constant Summary

COMPONENTS =
{
  [0,0] => :key,
  [0,1] => :reason,
  [0,2] => :meanings,
  [0,3] => View::Admin::OrphanedPatinfoForm,  
  
}
CSS_MAP =
{
  [0,0] =>  'th',
  [0,1] =>  'subheading',
}
CSS_CLASS =
'composite'
DEFAULT_CLASS =
HtmlGrid::Value
DEFAULT_HEAD_CLASS =
'th'

Instance Method Summary (collapse)

Methods inherited from HtmlGrid::Composite

event_link, #hash_insert_col, #hash_insert_row

Instance Method Details

- (Object) meanings(model, session)



76
77
78
# File 'src/view/admin/orphaned_patinfo.rb', line 76

def meanings(model, session)
  View::Admin::OrphanedPatinfoList.new(model.meanings, session, self)
end

- (Object) reason(model, session)



73
74
75
# File 'src/view/admin/orphaned_patinfo.rb', line 73

def reason(model, session)
  @lookandfeel.lookup(model.reason)
end