Class: ODDB::Html::View::Drugs::Admin::SequenceForm
- Inherits:
-
HtmlGrid::DivForm
- Object
- HtmlGrid::DivForm
- ODDB::Html::View::Drugs::Admin::SequenceForm
- Defined in:
- lib/oddb/html/view/drugs/admin/sequence.rb
Constant Summary collapse
- COMPONENTS =
{ [0,0] => SequenceInnerForm, [0,1] => "compositions", [0,2] => :compositions, }
- CSS_ID_MAP =
{ 2 => 'compositions' }
- CSS_MAP =
{ 1 => 'divider' }
- EVENT =
:update
Instance Method Summary collapse
Instance Method Details
#compositions(model) ⇒ Object
259 260 261 |
# File 'lib/oddb/html/view/drugs/admin/sequence.rb', line 259 def compositions(model) Compositions.new(model.compositions, @session, self) end |
#hidden_fields(context) ⇒ Object
262 263 264 |
# File 'lib/oddb/html/view/drugs/admin/sequence.rb', line 262 def hidden_fields(context) super << context.hidden("uid", @model.uid) end |