Class: ODDB::View::Admin::CommercialFormComposite

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

Constant Summary

COMPONENTS =
{
  [0,0] => 'commercial_form',
  [0,1] => CommercialFormForm,
  [0,2] => :packages,
}
CSS_MAP =
{
  [0,0] => 'th'
}
CSS_CLASS =
'composite'

Instance Method Summary (collapse)

Methods inherited from HtmlGrid::Composite

event_link, #hash_insert_col, #hash_insert_row

Instance Method Details

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



56
57
58
# File 'src/view/admin/commercial_form.rb', line 56

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