Sha256: 940bb75c4d3e2f64532e3e16a33aed4523e882bd706b8526a05c0a75a1ca2cc9
Contents?: true
Size: 1.1 KB
Versions: 38
Compression:
Stored size: 1.1 KB
Contents
<div class="card card--action card--list"> <% resources.each do |sortition| %> <div class="card--list__item"> <div class="card--list__text"> <%= link_to resource_locator(sortition).path do %> <%= icon "proposals", class: "card--list__icon", remove_icon_class: true %> <% end %> <div> <%= link_to resource_locator(sortition).path, class: "card__link" do %> <h5 class="card--list__heading"><%= decidim_html_escape(translated_attribute(sortition.title)) %></h5> <% end %> <div class="author"> <span class="author__avatar"> <%= image_tag present(sortition.author).avatar_url %> </span> <span class="author__name"> <%= sortition.author.name %> </span> </div> </div> </div> <div class="card--list__data"> <span class="card--list__data__number"> <%= sortition.selected_proposals.size %> </span> <%= t(".selected_proposals", count: proposal.selected_proposals.size) %> </div> </div> <% end %> </div>
Version data entries
38 entries across 38 versions & 1 rubygems