Sha256: 9bb1cc3858a7307289d127be71abedc45cf2aa5dcb61c6c93eab9e7659b5d887

Contents?: true

Size: 460 Bytes

Versions: 8

Compression:

Stored size: 460 Bytes

Contents

<div id="sidebar">
  <% if @section and @section.categories.present? %>
    <h4>Topics</h4>
    <ul>
    <% @section.categories.each do |category| %>
      <li><%= link_to_category @section, category %></li>
    <% end %>
    </ul>
  <% end %>

  <% if @section and @section.tag_counts.present? %>
    <h4>Tags</h4>
    <ul>
    <% @section.tag_counts.each do |tag| %>
      <li><%= link_to_tag @section, tag %></li>
    <% end %>
    </ul>
  <% end %>
</div>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
adva-0.3.2 app/views/shared/_sidebar.html.erb
adva-0.3.1 app/views/shared/_sidebar.html.erb
adva-0.3.0 app/views/shared/_sidebar.html.erb
adva-0.2.4 app/views/shared/_sidebar.html.erb
adva-0.2.3 app/views/shared/_sidebar.html.erb
adva-0.2.2 app/views/shared/_sidebar.html.erb
adva-0.2.1 app/views/shared/_sidebar.html.erb
adva-0.2.0 app/views/shared/_sidebar.html.erb