Sha256: 7d669b4fa99927f674dd3104933f6e65a6a082eacee259a65c0834336a3eca0c
Contents?: true
Size: 1.15 KB
Versions: 4
Compression:
Stored size: 1.15 KB
Contents
<div class="card card--action card--list"> <% resources.each do |plan| %> <div class="card--list__item"> <div class="card--list__text"> <%= link_to resource_locator(plan).path do %> <%= icon "proposals", class: "card--list__icon", remove_icon_class: true %> <% end %> <div> <%= link_to resource_locator(plan).path, class: "card__link" do %> <h5 class="card--list__heading"><%== decidim_html_escape(present(plan).title) %></h5> <% end %> <% present(plan) do |plan| %> <div class="author"> <span class="author__avatar"> <%= image_tag plan.author.avatar_url %> </span> <span class="author__name"> <strong><%= plan.author.name %></strong> <%= plan.author.nickname %> </span> </div> <% end %> </div> </div> <div class="card--list__data"> <span class="card--list__data__number"> <%= plan.authors.count %> </span> <%= t(".plan_authors", count: plan.authors.count) %> </div> </div> <% end %> </div>
Version data entries
4 entries across 4 versions & 1 rubygems