Sha256: 8f8e8a8c41fb208aa8fb7d87c9029bd348d5b1322350caa58810cda4ad66c31c

Contents?: true

Size: 614 Bytes

Versions: 6

Compression:

Stored size: 614 Bytes

Contents

<ul class="tags tags--sortition">
  <li>
    <%= link_to t("filters.active", scope: "decidim.sortitions.sortitions"),
                sortitions_path(filter: { with_any_state: "active" }) unless sortition.cancelled? %>

    <%= link_to t("filters.cancelled", scope: "decidim.sortitions.sortitions"),
                sortitions_path(filter: { with_any_state: "cancelled" }) if sortition.cancelled? %>
  </li>

  <% if sortition.category.present? %>
  <li>
    <%= link_to translated_attribute(sortition.category.name), sortitions_path(filter: { with_category: sortition.category.id }) %>
  </li>
  <% end %>
</ul>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-sortitions-0.27.9 app/views/decidim/sortitions/sortitions/_tags.html.erb
decidim-sortitions-0.27.8 app/views/decidim/sortitions/sortitions/_tags.html.erb
decidim-sortitions-0.27.7 app/views/decidim/sortitions/sortitions/_tags.html.erb
decidim-sortitions-0.27.6 app/views/decidim/sortitions/sortitions/_tags.html.erb
decidim-sortitions-0.27.5 app/views/decidim/sortitions/sortitions/_tags.html.erb
decidim-sortitions-0.27.4 app/views/decidim/sortitions/sortitions/_tags.html.erb