Sha256: fc1d679ac98cbe077e4f2aaacce1dc4cad202f917e3b32816e233f68d7e16810

Contents?: true

Size: 482 Bytes

Versions: 1

Compression:

Stored size: 482 Bytes

Contents

.tabbable
  %ul.nav.nav-tabs.main-tabs
    - @api_docs.keys.each_with_index do |api_tab_label, i|
      %li{:class => (:active if i == 0)}
        = link_to api_tab_label.humanize.capitalize, "##{api_tab_label.underscore}", "data-toggle" => "tab"
        
  .tab-content
    - @api_docs.each do |api_tab_label, api|
      .tab-pane{:id => api_tab_label.underscore}
        - unless api.blank?
          = render :partial => 'panel', :locals => {:label => api_tab_label, :api => api}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
api_docs-0.0.1 app/views/api_docs/_api_docs.html.haml