Class: Matestack::Ui::Bootstrap::Components::TabNav
- Inherits:
-
BaseComponent
- Object
- Component
- BaseComponent
- Matestack::Ui::Bootstrap::Components::TabNav
- Defined in:
- lib/matestack/ui/bootstrap/components/tab_nav.rb
Instance Method Summary collapse
Instance Method Details
#response ⇒ Object
11 12 13 14 15 16 17 18 19 20 |
# File 'lib/matestack/ui/bootstrap/components/tab_nav.rb', line 11 def response if context.items.present? ul nav_attributes do nav_items_partial end end div class: "tab-content", id: "#{context.id}Content" do yield if block_given? end end |