Class: ODDB::View::Drugs::CenteredSearchForm

Inherits:
CenteredSearchForm show all
Includes:
SearchBarMethods
Defined in:
src/view/drugs/centeredsearchform.rb

Direct Known Subclasses

CompareSearchForm

Constant Summary

CSS_CLASS =
'composite'
COMPONENTS =
{
  [0,0]     =>  View::TabNavigation,
  [0,1]     =>  'search_type',
  [0,2,0,1] =>  :search_type,
  [0,3,0,2] =>  :search_query,
  [0,4,0,3] =>  :submit,
  [0,4,0,4] =>  :search_reset,
}
SYMBOL_MAP =
{
  :search_query =>  View::SearchBar,
}
COMPONENT_CSS_MAP =
{
  [0,0]   => 'component tabnavigation',
}
CSS_MAP =
{
  [0,0] =>  'center',
  [0,1] =>  'list center',
  [0,2,1,3] =>  'center',
}
EVENT =
:search

Constants inherited from CenteredSearchForm

COMPONENTS, COMPONENT_CSS_MAP, CSS_CLASS, CSS_MAP, EVENT, FORM_METHOD, HTML_ATTRIBUTES, SYMBOL_MAP

Method Summary

Methods included from SearchBarMethods

#search_type

Methods inherited from CenteredSearchForm

#init, #search_help, #search_reset