Sha256: ebb978b13eeacb4c0220496fd57b82fe30cdf1f5e0e1f50856397c8ecb6f02f2

Contents?: true

Size: 609 Bytes

Versions: 16

Compression:

Stored size: 609 Bytes

Contents

<div class="o-resource__item">
  <h3>Tags</h3>
  <% each_tags_cloud!(tag_clouds) do |tags, cloud_name = nil| %>
    <ul class="o-resource__taglist o-resource__list--<%= color_code %>">
      <% if cloud_name.present? %>
        <li><strong><%= cloud_name %>:</strong></li>
      <% end %>
      <% tags.each_with_index do |tag, i| %>
        <li>
          <%= link_to tag, search_path(search_term: tag.downcase) %><%= ', ' if i != tags.size - 1  %>
        </li>
      <% end %>
      <% if tags.empty? %>
        <span>There are no tags for this resource</span>
      <% end %>
    </ul>
  <% end %>
</div>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
lcms-engine-0.5.5 app/views/lcms/engine/resources/_tags.html.erb
lcms-engine-0.5.4 app/views/lcms/engine/resources/_tags.html.erb
lcms-engine-0.5.3 app/views/lcms/engine/resources/_tags.html.erb
lcms-engine-0.5.2 app/views/lcms/engine/resources/_tags.html.erb
lcms-engine-0.5.1 app/views/lcms/engine/resources/_tags.html.erb
lcms-engine-0.5.0 app/views/lcms/engine/resources/_tags.html.erb
lcms-engine-0.4.2 app/views/lcms/engine/resources/_tags.html.erb
lcms-engine-0.4.1 app/views/lcms/engine/resources/_tags.html.erb
lcms-engine-0.4.0 app/views/lcms/engine/resources/_tags.html.erb
lcms-engine-0.3.1 app/views/lcms/engine/resources/_tags.html.erb
lcms-engine-0.1.4 app/views/lcms/engine/resources/_tags.html.erb
lcms-engine-0.3.0 app/views/lcms/engine/resources/_tags.html.erb
lcms-engine-0.1.3 app/views/lcms/engine/resources/_tags.html.erb
lcms-engine-0.2.0 app/views/lcms/engine/resources/_tags.html.erb
lcms-engine-0.1.2 app/views/lcms/engine/resources/_tags.html.erb
lcms-engine-0.1.0 app/views/lcms/engine/resources/_tags.html.erb