Module: Super::Controls::View
- Included in:
- Super::Controls
- Defined in:
- lib/super/controls/view.rb
Overview
Methods for Controls
that have a sane default implementation
Instance Method Summary collapse
Instance Method Details
#edit_view ⇒ Object
43 44 45 46 47 48 49 50 51 52 |
# File 'lib/super/controls/view.rb', line 43 def edit_view Super::Layout.new( mains: [ Super::Panel.new( Super::Partial.new("member_header"), :@form ), ] ) end |
#index_view ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/super/controls/view.rb', line 7 def index_view Super::Layout.new( mains: [ Super::Panel.new( Super::Partial.new("collection_header"), :@display ), ], asides: [ :@query_form, ] ) end |