Class: ODDB::View::Admin::GalenicFormComposite

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

Constant Summary

COMPONENTS =
{
  [0,0] =>  'galenic_form',
  [0,1] =>  View::Admin::GalenicFormForm,
  [0,2] =>  :sequences,
}
CSS_CLASS =
'composite'
CSS_MAP =
{
  [0,0] =>  'th',
}

Instance Method Summary (collapse)

Methods inherited from HtmlGrid::Composite

event_link, #hash_insert_col, #hash_insert_row

Instance Method Details

- (Object) sequences(model, session = @session)



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

def sequences(model, session=@session)
  RegistrationSequences.new(model.sequences[0,30], @session, self)
end