Sha256: 1bb70da1b947b00a8ca979ab48570950780aeb56a4c8aa2a2480e75965588ae6

Contents?: true

Size: 876 Bytes

Versions: 25

Compression:

Stored size: 876 Bytes

Contents

<figure>
  <figcaption class="text-uppercase">
    <strong>
      <%= t("filed_as", scope: "decidim.proposals.proposals.tags") %>
    </strong>
  </figcaption>

  <ul>
    <% if category.present? %>
      <li>
        <%= link_to translated_attribute(category.name), resource_locator(model).index(filter: { category_id: category.id }) %>
        <% if previous_category.present? && show_previous_category? %>
          &nbsp;
          <small class="text-small">
            <%= t("changed_from", scope: "decidim.proposals.proposals.tags", previous_category: "#{previous_category.translated_name}").html_safe %>
          </small>
        <% end %>
      </li>
    <% end %>

    <% if has_visible_scopes?(model) %>
      <li><%= link_to translated_attribute(scope.name), resource_locator(model).index(filter: { scope_id: [scope.id] }) %></li>
    <% end %>
  </ul>
</figure>

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
decidim-proposals-0.20.1 app/cells/decidim/proposals/proposal_tags/show.erb
decidim-proposals-0.20.0 app/cells/decidim/proposals/proposal_tags/show.erb
decidim-proposals-0.19.1 app/cells/decidim/proposals/proposal_tags/show.erb
decidim-proposals-0.18.1 app/cells/decidim/proposals/proposal_tags/show.erb
decidim-proposals-0.19.0 app/cells/decidim/proposals/proposal_tags/show.erb
decidim-proposals-0.17.2 app/cells/decidim/proposals/proposal_tags/show.erb
decidim-proposals-0.18.0 app/cells/decidim/proposals/proposal_tags/show.erb
decidim-proposals-0.17.1 app/cells/decidim/proposals/proposal_tags/show.erb
decidim-proposals-0.16.1 app/cells/decidim/proposals/proposal_tags/show.erb
decidim-proposals-0.17.0 app/cells/decidim/proposals/proposal_tags/show.erb
decidim-proposals-0.16.0 app/cells/decidim/proposals/proposal_tags/show.erb
decidim-proposals-0.15.2 app/cells/decidim/proposals/proposal_tags/show.erb
decidim-proposals-0.15.1 app/cells/decidim/proposals/proposal_tags/show.erb
decidim-proposals-0.15.0 app/cells/decidim/proposals/proposal_tags/show.erb
decidim-proposals-0.14.4 app/cells/decidim/proposals/proposal_tags/show.erb
decidim-proposals-0.14.3 app/cells/decidim/proposals/proposal_tags/show.erb
decidim-proposals-0.14.2 app/cells/decidim/proposals/proposal_tags/show.erb
decidim-proposals-0.14.1 app/cells/decidim/proposals/proposal_tags/show.erb
decidim-proposals-0.13.1 app/cells/decidim/proposals/proposal_tags/show.erb
decidim-proposals-0.12.2 app/cells/decidim/proposals/proposal_tags/show.erb