Sha256: 6e1640b046fcfb536f10de717b3bf5dc1b00e5c10cc28c00b9d1d5ed5591743e

Contents?: true

Size: 924 Bytes

Versions: 3

Compression:

Stored size: 924 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"><%= present(proposal).title %></h5>
        <% end %>
        <%= cell("decidim/coauthorships", proposal, has_actions: false, context: { current_user: current_user }) %>

        <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(present(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.16.1 app/views/decidim/proposals/proposals/_proposal_similar.html.erb
decidim-proposals-0.17.0 app/views/decidim/proposals/proposals/_proposal_similar.html.erb
decidim-proposals-0.16.0 app/views/decidim/proposals/proposals/_proposal_similar.html.erb