Sha256: d81d215844d8a98e17b8e85349dd031e45507f96d76808170d6aff0f533b5329

Contents?: true

Size: 405 Bytes

Versions: 47

Compression:

Stored size: 405 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

47 entries across 47 versions & 1 rubygems

Version Path
bootstrap_leather-0.9.4 app/views/bootstrap_leather/_tabs.html.haml
bootstrap_leather-0.9.3 app/views/bootstrap_leather/_tabs.html.haml
bootstrap_leather-0.9.2 app/views/bootstrap_leather/_tabs.html.haml
bootstrap_leather-0.9.1 app/views/bootstrap_leather/_tabs.html.haml
bootstrap_leather-0.9.0 app/views/bootstrap_leather/_tabs.html.haml
bootstrap_leather-0.8.8 app/views/bootstrap_leather/_tabs.html.haml
bootstrap_leather-0.8.7 app/views/bootstrap_leather/_tabs.html.haml
bootstrap_leather-0.8.6 app/views/bootstrap_leather/_tabs.html.haml
bootstrap_leather-0.8.5 app/views/bootstrap_leather/_tabs.html.haml
bootstrap_leather-0.8.4 app/views/bootstrap_leather/_tabs.html.haml
bootstrap_leather-0.8.3 app/views/bootstrap_leather/_tabs.html.haml
bootstrap_leather-0.8.2 app/views/bootstrap_leather/_tabs.html.haml
bootstrap_leather-0.8.1 app/views/bootstrap_leather/_tabs.html.haml
bootstrap_leather-0.8.0 app/views/bootstrap_leather/_tabs.html.haml
bootstrap_leather-0.7.4 app/views/bootstrap_leather/_tabs.html.haml
bootstrap_leather-0.7.3 app/views/bootstrap_leather/_tabs.html.haml
bootstrap_leather-0.7.1 app/views/bootstrap_leather/_tabs.html.haml
bootstrap_leather-0.7.0 app/views/bootstrap_leather/_tabs.html.haml
bootstrap_leather-0.6.3 app/views/bootstrap_leather/_tabs.html.haml
bootstrap_leather-0.6.2 app/views/bootstrap_leather/_tabs.html.haml