Class: ODDB::View::Admin::AddressSuggestionComposite

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

Constant Summary

COMPONENTS =
{
  [0,0]   => AddressSuggestionForm,
  [1,0]   => AddressSuggestionInnerComposite,
  [2,0]   => :address,
}
CSS_CLASS =
'component'
CSS_MAP =
{
  [0,0,3] =>  'list top',
}
LEGACY_INTERFACE =
false

Instance Method Summary (collapse)

Methods inherited from HtmlGrid::Composite

event_link, #hash_insert_col, #hash_insert_row

Instance Method Details

- (Object) address(model)



117
118
119
120
121
# File 'src/view/admin/address_suggestion.rb', line 117

def address(model)
  if(addr = @session.state.active_address)
    ActiveAddress.new(addr, @session, self)
  end
end