Sha256: f16139743f2ed6d10c35f8a7b91a1bb9098a352feae581d7d33fe7c7dc300f3b

Contents?: true

Size: 853 Bytes

Versions: 3

Compression:

Stored size: 853 Bytes

Contents

<div class="column">
  <article class="card card--proposal">
    <div class="card__content">
      <div class="card__header">
        <%= link_to proposal, target: "_blank" do %>
          <h5 class="card__title"><%= proposal.title %></h5>
        <% end %>
        <%= cell("decidim/proposals/coauthorships", proposal) %>

        <div class="tech-info tech-info--text-left">
          <%= t("decidim.proposals.proposals.proposal.creation_date", date: l(proposal.created_at, format: :decidim_short)) %>
        </div>
        <%= resource_reference(proposal, class: "tech-info--text-left") %>
      </div>

      <%== cell("decidim/proposals/proposal_m", proposal).badge %>

      <p><%= truncate(proposal.body, length: 100) %></p>
      <%= cell "decidim/tags", proposal, context: {extra_classes: ["tags--proposal"]} %>
    </div>
  </article>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-proposals-0.13.1 app/views/decidim/proposals/proposals/_proposal_similar.html.erb
decidim-proposals-0.13.0 app/views/decidim/proposals/proposals/_proposal_similar.html.erb
decidim-proposals-0.13.0.pre1 app/views/decidim/proposals/proposals/_proposal_similar.html.erb