Sha256: 3600104d5d6046a37470e3b12352522152280ec021f31b264bdf73a48be861dc

Contents?: true

Size: 1.01 KB

Versions: 5

Compression:

Stored size: 1.01 KB

Contents

<div class="card card--action card--list">
  <% resources.each do |proposal| %>
    <div class="card--list__item">
      <div class="card--list__text">
        <%= link_to resource_locator(proposal).path do %>
          <%= icon "proposals", class: "card--list__icon", remove_icon_class: true %>
        <% end %>
        <div>
          <%= link_to resource_locator(proposal).path, class: "card__link" do %>
            <h5 class="card--list__heading"><%= proposal.title %></h5>
          <% end %>
          <div class="author">
            <span class="author__avatar">
              <%= image_tag proposal.author_avatar_url %>
            </span>
            <span class="author__name">
              <%= proposal.author_name %>
            </span>
          </div>
        </div>
      </div>
      <div class="card--list__data">
        <span class="card--list__data__number">
          <%= proposal.votes.size %>
        </span> <%= t(".proposal_votes", count: proposal.votes.size) %>
      </div>
    </div>
  <% end %>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
decidim-proposals-0.8.4 app/views/decidim/proposals/proposals/_linked_proposals.html.erb
decidim-proposals-0.8.3 app/views/decidim/proposals/proposals/_linked_proposals.html.erb
decidim-proposals-0.8.2 app/views/decidim/proposals/proposals/_linked_proposals.html.erb
decidim-proposals-0.8.1 app/views/decidim/proposals/proposals/_linked_proposals.html.erb
decidim-proposals-0.8.0 app/views/decidim/proposals/proposals/_linked_proposals.html.erb