Sha256: b39f66d7d9c3cb9cf123ebe59b2fecb6af04263ce634de582c68193ff96a3f21

Contents?: true

Size: 536 Bytes

Versions: 2

Compression:

Stored size: 536 Bytes

Contents

.form-tabs{ data: { :'form-tabs' => true } }
  %ul.nav.nav-tabs{ role: 'tablist' }
    - tabs.each_with_index do |tab, index|
      %li{ class: ('active' if index == 0), 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_with_index do |tab, index|
      .tab-pane{ id: tab.dom_id, class: ('active' if index == 0), role: 'tabpanel' }
        = tab.content

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
para-0.7.1 app/views/para/form/_tabs.html.haml
para-0.7.0 app/views/para/form/_tabs.html.haml