Sha256: fa1f10736dcfa841074a1eb27ef6da4b198f1433df4a0defa732a11f4c175536

Contents?: true

Size: 794 Bytes

Versions: 42

Compression:

Stored size: 794 Bytes

Contents

.form-tabs{ data: { :'form-tabs' => true, :'top-level-tabs' => !tabs_manager.builder.nested? } }
  -# The .nav-tabs-wrapper is used to maintain the tabs height when the tabs
  -# are fixed to top
  .nav-tabs-wrapper{ data: { :'nav-tabs-wrapper' => true } }
    %ul.nav.nav-tabs.affix-no-mobile{ role: 'tablist', data: { :'tabs-nav-affix' => tabs_manager.affix? } }
      - tabs.each do |tab|
        %li{ class: ('active' if tab.active?), role: 'presentation' }
          = link_to "##{ tab.dom_id }", role: 'tab', aria: { controls: 'settings' }, data: { toggle: 'tab' } do
            %i.fa{ class: "fa-#{ tab.icon }" }
            = tab.title

  .tab-content
    - tabs.each do |tab|
      .tab-pane{ id: tab.dom_id, class: ('active' if tab.active?), role: 'tabpanel' }
        = tab.content

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
para-0.11.4 app/views/para/form/_tabs.html.haml
para-0.11.3 app/views/para/form/_tabs.html.haml
para-0.11.2 app/views/para/form/_tabs.html.haml
para-0.11.1 app/views/para/form/_tabs.html.haml
para-0.11.0 app/views/para/form/_tabs.html.haml
para-0.10.0 app/views/para/form/_tabs.html.haml
para-0.9.4 app/views/para/form/_tabs.html.haml
para-0.9.3.3 app/views/para/form/_tabs.html.haml
para-0.9.3.2 app/views/para/form/_tabs.html.haml
para-0.9.3.1 app/views/para/form/_tabs.html.haml
para-0.9.2 app/views/para/form/_tabs.html.haml
para-0.9.0 app/views/para/form/_tabs.html.haml
para-0.8.15 app/views/para/form/_tabs.html.haml
para-0.8.14 app/views/para/form/_tabs.html.haml
para-0.8.13 app/views/para/form/_tabs.html.haml
para-0.8.12 app/views/para/form/_tabs.html.haml
para-0.8.11 app/views/para/form/_tabs.html.haml
para-0.8.10 app/views/para/form/_tabs.html.haml
para-0.8.9 app/views/para/form/_tabs.html.haml
para-0.8.8 app/views/para/form/_tabs.html.haml