Sha256: 10b3a4dc5e9c1086a469e88a161cfb085ebe6fdae69f9fa1a9408a6850242b50

Contents?: true

Size: 613 Bytes

Versions: 7

Compression:

Stored size: 613 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

7 entries across 7 versions & 1 rubygems

Version Path
decidim-sortitions-0.28.4 app/views/decidim/sortitions/sortitions/_tags.html.erb
decidim-sortitions-0.28.3 app/views/decidim/sortitions/sortitions/_tags.html.erb
decidim-sortitions-0.28.2 app/views/decidim/sortitions/sortitions/_tags.html.erb
decidim-sortitions-0.28.1 app/views/decidim/sortitions/sortitions/_tags.html.erb
decidim-sortitions-0.28.0 app/views/decidim/sortitions/sortitions/_tags.html.erb
decidim-sortitions-0.28.0.rc5 app/views/decidim/sortitions/sortitions/_tags.html.erb
decidim-sortitions-0.28.0.rc4 app/views/decidim/sortitions/sortitions/_tags.html.erb