Class: ODDB::Html::View::Drugs::Admin::Sequence

Inherits:
Template
  • Object
show all
Defined in:
lib/oddb/html/view/drugs/admin/sequence.rb

Constant Summary collapse

CONTENT =
SequenceComposite
JAVASCRIPTS =
['admin']

Constants inherited from Template

Template::COMPONENTS, Template::CSS_ID_MAP, Template::DOJO_DEBUG, Template::DOJO_PARSE_WIDGETS, Template::DOJO_REQUIRE, Template::FOOT, Template::HEAD, Template::HTTP_HEADERS

Instance Method Summary collapse

Methods inherited from Template

#css_links, #title

Instance Method Details

#_titleObject



300
301
302
303
304
305
306
# File 'lib/oddb/html/view/drugs/admin/sequence.rb', line 300

def _title
  if @model.saved?
    super.push(@model.uid)
  else
    super.push(@lookandfeel.lookup(:new_sequence))
  end
end