Sha256: 405924ebdbf9a27b8f881dbd4a2499dec7edbf69a2f19c2d3509a4812b5164e5

Contents?: true

Size: 481 Bytes

Versions: 3

Compression:

Stored size: 481 Bytes

Contents

<%
proposals = @plan.linked_resources(:proposals, "included_proposals").not_hidden
%>

<% if proposals.count.nonzero? %>
  <div class="attached-proposals">
    <h4 class="section-heading">
      <%= t("decidim.resource_links.included_proposals.plan_proposal") %>
    </h4>
    <div class="collapsible-list row small-up-1 medium-up-2 card-grid">
      <% proposals.each do |proposal| %>
        <%= card_for proposal, from: proposal %>
      <% end %>
    </div>
  </div>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-plans-0.18.2 app/views/decidim/plans/plans/_attached_proposals.html.erb
decidim-plans-0.18.1 app/views/decidim/plans/plans/_attached_proposals.html.erb
decidim-plans-0.18.0 app/views/decidim/plans/plans/_attached_proposals.html.erb