Sha256: b5916173e9361e0a1b3153e9ae16226b45e15c2f42065022ac0a552d2e2daab3

Contents?: true

Size: 584 Bytes

Versions: 6

Compression:

Stored size: 584 Bytes

Contents

<ul>
  <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.29.1 app/views/decidim/sortitions/sortitions/_tags.html.erb
decidim-sortitions-0.29.0 app/views/decidim/sortitions/sortitions/_tags.html.erb
decidim-sortitions-0.29.0.rc4 app/views/decidim/sortitions/sortitions/_tags.html.erb
decidim-sortitions-0.29.0.rc3 app/views/decidim/sortitions/sortitions/_tags.html.erb
decidim-sortitions-0.29.0.rc2 app/views/decidim/sortitions/sortitions/_tags.html.erb
decidim-sortitions-0.29.0.rc1 app/views/decidim/sortitions/sortitions/_tags.html.erb