Sha256: 2cce84056aa787d723b029dcd84da189f76e21b678d95483fcbef65e96c7fef1

Contents?: true

Size: 740 Bytes

Versions: 2

Compression:

Stored size: 740 Bytes

Contents

<div class="tabbable">
  <ul class="nav nav-tabs sections">
  <%- sections.select { |s| data[s] }.each_with_index do |section_key, index| -%>
    <li id="tab-<%= section_key %>" class="<%= "active" if index == 0 %>"><a href="#<%= section_key %>" data-toggle="tab"><%= t("txt.views.layouts.sections.#{section_key}", :default => section_key.humanize) %></a></li>
  <%- end -%>
  </ul>
  <div class="tab-panels">
  <%- sections.select { |s| data[s] }.each_with_index do |section_key, index| -%>
    <div class="tab-pane <%= "active" if index == 0 %>" id="<%= section_key %>">
      <%- data[section_key].keys.sort.each do |sort_key| -%>
        <%= raw data[section_key][sort_key] %>
      <%- end -%>
    </div>
  <%- end -%>
  </div>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
iqvoc-4.12.1 app/views/layouts/_sections.html.erb
iqvoc-4.12.0 app/views/layouts/_sections.html.erb