Sha256: 44489945e3254e70579e7b6ea5d8cf1787c0a2c52ef96e57bde2df5d168466d2

Contents?: true

Size: 479 Bytes

Versions: 5

Compression:

Stored size: 479 Bytes

Contents

<% if result.category.present? || result.scope.present? %>
  <ul class="tags tags--result" >
    <% if result.category.present? %>
      <li><%= link_to translated_attribute(result.category.name), decidim_results.results_path(filter: { category_id: result.category.id }) %></li>
    <% end %>
    <% if result.scope.present? %>
      <li><%= link_to result.scope.name, decidim_results.results_path(filter: { scope_id: [result.scope.id] }) %></li>
    <% end %>
  </ul>
<% end %>

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
decidim-results-0.0.5 app/views/decidim/results/results/_tags.html.erb
decidim-0.0.5 decidim-results/app/views/decidim/results/results/_tags.html.erb
decidim-0.0.4 decidim-results/app/views/decidim/results/results/_tags.html.erb
decidim-results-0.0.3 app/views/decidim/results/results/_tags.html.erb
decidim-0.0.3 decidim-results/app/views/decidim/results/results/_tags.html.erb