Class: ODDB::View::Admin::ActiveAgentInnerComposite

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

Constant Summary

COMPONENTS =
{
  [0,0]   => :substance,
  [2,0]   => :dose,
  [0,1]   => :chemical_substance,
  [2,1]   => :chemical_dose,
  [0,2]   => :equivalent_substance,
  [2,2]   => :equivalent_dose,
}
CSS_MAP =
{
  [0,0,4,2] =>  'list',
}
DEFAULT_CLASS =
HtmlGrid::Value
LABELS =
true

Instance Method Summary (collapse)

Methods inherited from HtmlGrid::Composite

event_link, #hash_insert_col, #hash_insert_row

Instance Method Details

- (Object) substance(model, session)



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

def substance(model, session)
  model.substance.send(@lookandfeel.language)
end