Sha256: a4ee6c89b4658591de75660fd36b041c34d234866e35bb792323689a02268b1c

Contents?: true

Size: 713 Bytes

Versions: 14

Compression:

Stored size: 713 Bytes

Contents

<div class="tabbable">
  <ul class="nav nav-tabs sections">
  <%- sections.select { |s| data[s] }.each_with_index do |section_key, index| -%>
    <li 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-content">
  <%- 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

14 entries across 14 versions & 1 rubygems

Version Path
iqvoc-4.1.3 app/views/layouts/_sections.html.erb
iqvoc-4.1.2 app/views/layouts/_sections.html.erb
iqvoc-4.1.1 app/views/layouts/_sections.html.erb
iqvoc-4.1.0 app/views/layouts/_sections.html.erb
iqvoc-4.0.9 app/views/layouts/_sections.html.erb
iqvoc-4.0.8 app/views/layouts/_sections.html.erb
iqvoc-4.0.7 app/views/layouts/_sections.html.erb
iqvoc-4.0.6 app/views/layouts/_sections.html.erb
iqvoc-4.0.5 app/views/layouts/_sections.html.erb
iqvoc-4.0.4 app/views/layouts/_sections.html.erb
iqvoc-4.0.3 app/views/layouts/_sections.html.erb
iqvoc-4.0.2 app/views/layouts/_sections.html.erb
iqvoc-4.0.1 app/views/layouts/_sections.html.erb
iqvoc-4.0.0 app/views/layouts/_sections.html.erb