Sha256: c72e6d224282939e7abc4935b3b1566ccbc737b90800872c28b41aa2a3cb3a27

Contents?: true

Size: 389 Bytes

Versions: 10

Compression:

Stored size: 389 Bytes

Contents

%div{class: 'tabbable tabs-' + orientation}
  %ul.nav.nav-tabs
    - for tab in tabs
      %li{class: tab[:active] ? 'active' : ''}
        = tab[:before_link]
        = link_to tab[:label].html_safe, '#' + tab[:id], data: { toggle: 'tab' }
  .tab-content
    - for tab in tabs
      %div{id: tab[:id], class: tab[:active] ? 'tab-pane active' : 'tab-pane'}
        =tab[:content].html_safe

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
bootstrap_leather-0.10.14 app/views/bootstrap_leather/tabs/_tabs.html.haml
bootstrap_leather-0.10.13 app/views/bootstrap_leather/tabs/_tabs.html.haml
bootstrap_leather-0.10.11 app/views/bootstrap_leather/tabs/_tabs.html.haml
bootstrap_leather-0.10.10 app/views/bootstrap_leather/tabs/_tabs.html.haml
bootstrap_leather-0.10.9 app/views/bootstrap_leather/tabs/_tabs.html.haml
bootstrap_leather-0.10.8 app/views/bootstrap_leather/tabs/_tabs.html.haml
bootstrap_leather-0.10.7 app/views/bootstrap_leather/tabs/_tabs.html.haml
bootstrap_leather-0.10.6 app/views/bootstrap_leather/tabs/_tabs.html.haml
bootstrap_leather-0.10.5 app/views/bootstrap_leather/tabs/_tabs.html.haml
bootstrap_leather-0.10.4 app/views/bootstrap_leather/tabs/_tabs.html.haml