Sha256: eb09c4c56457baa21317d4e8ea8b5e6a8af4ec39f4b8b4c94cdfeb8960f82d6d

Contents?: true

Size: 1.01 KB

Versions: 5

Compression:

Stored size: 1.01 KB

Contents

<main class="column">
  <article class="card card--proposal">
    <div class="card__content">
      <div class="card__header">
        <%= link_to Decidim::ResourceLocatorPresenter.new(emendation).path, target: "_blank" do %>
          <h5 class="card__title"><%= decidim_html_escape(present(emendation).title).html_safe %></h5>
        <% end %>

        <%= cell("decidim/coauthorships", emendation, 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(emendation.created_at, format: :decidim_short)) %>
        </div>
        <%= resource_reference(emendation, class: "tech-info--text-left") %>
      </div>

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

      <p><%= truncate(present(emendation).body(strip_tags: true), length: 100) %></p>

      <%= cell "decidim/tags", emendation, context: { extra_classes: ["tags--proposal"] } %>
    </div>
  </article>
</main>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
decidim-core-0.21.0 app/views/decidim/amendments/_similar_emendation.html.erb
decidim-core-0.20.1 app/views/decidim/amendments/_similar_emendation.html.erb
decidim-core-0.20.0 app/views/decidim/amendments/_similar_emendation.html.erb
decidim-core-0.19.1 app/views/decidim/amendments/_similar_emendation.html.erb
decidim-core-0.19.0 app/views/decidim/amendments/_similar_emendation.html.erb