Sha256: 844cd08b9d2fa0c6a07ceb19078a1b6d1d21687c0bb4466c2c089c4c1a00032d

Contents?: true

Size: 1.15 KB

Versions: 6

Compression:

Stored size: 1.15 KB

Contents

<div class="column">
  <article class="card card--proposal">
    <div class="card__content">
      <div class="card__header">
        <%= link_to proposal do%>
          <h5 class="card__title"><%= proposal.title %></h5>
        <% end %>
        <div class="card__author author-data author-data--small">
          <%= render partial: "author", locals: { proposal: proposal } %>
        </div>
      </div>
      <%= render partial: "proposal_badge", locals: { proposal: proposal } %>
      <p><%= truncate(proposal.body, length: 100) %></p>
      <%= render partial: "tags", locals: { proposal: proposal } %>
    </div>
    <div class="card__footer">
      <div class="card__support">
        <% if current_settings.votes_enabled? %>
          <%= render partial: "votes_count", locals: { proposal: proposal, from_proposals_list: true } %>
          <%= render partial: "vote_button", locals: { proposal: proposal, from_proposals_list: true } %>
        <% else %>
          <div class="card__support__data"></div>
          <%= link_to t(".view_proposal"), proposal, class: "card__button button small secondary" %>
        <% end %>
      </div>
    </div>
  </article>
</div>

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
decidim-proposals-0.3.2 app/views/decidim/proposals/proposals/_proposal.html.erb
decidim-0.3.2 decidim-proposals/app/views/decidim/proposals/proposals/_proposal.html.erb
decidim-proposals-0.3.1 app/views/decidim/proposals/proposals/_proposal.html.erb
decidim-0.3.1 decidim-proposals/app/views/decidim/proposals/proposals/_proposal.html.erb
decidim-proposals-0.3.0 app/views/decidim/proposals/proposals/_proposal.html.erb
decidim-0.3.0 decidim-proposals/app/views/decidim/proposals/proposals/_proposal.html.erb