Class: ODDB::View::Admin::SelectIndicationComposite

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

Constant Summary

COMPONENTS =
{
  [0,0] =>  :registration_name,
  [0,1] =>  "select_indication_list",
  [0,2] =>  View::Admin::SelectIndicationForm,
}
CSS_CLASS =
'composite'
CSS_MAP =
{
  [0,0] =>  'th',
  [0,1] =>  'subheading',
}

Instance Method Summary (collapse)

Methods inherited from HtmlGrid::Composite

event_link, #hash_insert_col, #hash_insert_row

Instance Method Details

- (Object) registration_name(model, session)



56
57
58
59
60
61
62
# File 'src/view/admin/selectindication.rb', line 56

def registration_name(model, session)
  reg = model.registration
  [
    reg.name_base, 
    @lookandfeel.lookup(:select_indication)
  ].compact.join(' - ') 
end