Sha256: 1a1413241cfe1e29ee795abacf4e6120a2413b5f3407d1a9018ba2b961127848

Contents?: true

Size: 490 Bytes

Versions: 5

Compression:

Stored size: 490 Bytes

Contents

<% if project.category.present? || project.scope.present? %>
  <ul class="tags tags--project" >
    <% if project.category.present? %>
      <li><%= link_to translated_attribute(project.category.name), decidim_budgets.projects_path(filter: { category_id: project.category.id }) %></li>
    <% end %>
    <% if project.scope.present? %>
      <li><%= link_to project.scope.name, decidim_budgets.projects_path(filter: { scope_id: [project.scope.id] }) %></li>
    <% end %>
  </ul>
<% end %>

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
decidim-budgets-0.0.5 app/views/decidim/budgets/projects/_tags.html.erb
decidim-0.0.5 decidim-budgets/app/views/decidim/budgets/projects/_tags.html.erb
decidim-0.0.4 decidim-budgets/app/views/decidim/budgets/projects/_tags.html.erb
decidim-budgets-0.0.3 app/views/decidim/budgets/projects/_tags.html.erb
decidim-0.0.3 decidim-budgets/app/views/decidim/budgets/projects/_tags.html.erb