Sha256: b063d8f086315a93a50869a8300593da4fe3346110af1a60768c34ad70727c0f

Contents?: true

Size: 487 Bytes

Versions: 3

Compression:

Stored size: 487 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), results_path(filter: { category_id: result.category.id }) %></li>
    <% end %>
    <% if !current_participatory_process.scope && result.scope.present? %>
      <li><%= link_to result.scope.name, results_path(filter: { scope_id: [result.scope.id] }) %></li>
    <% end %>
  </ul>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-accountability-0.1.2 app/views/decidim/accountability/results/_tags.html.erb
decidim-accountability-0.1.1 app/views/decidim/accountability/results/_tags.html.erb
decidim-accountability-0.1.0 app/views/decidim/accountability/results/_tags.html.erb