Sha256: d27b74c50c271ac0adec07b4ba0844ff329c54eb07cc8c16ff4c2e1da8bf5df0
Contents?: true
Size: 1.49 KB
Versions: 2
Compression:
Stored size: 1.49 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: "decidim/shared/author_reference", locals: { author: present(proposal).author } %> </div> <div class="tech-info tech-info--text-left"> <%= t(".creation_date", date: l(proposal.created_at, format: :decidim_short)) %> </div> <%= resource_reference(proposal, class: "tech-info--text-left") %> </div> <%= render partial: "proposal_badge", locals: { proposal: proposal } %> <p><%= truncate(proposal.body, length: 100) %></p> <%= render partial: "decidim/shared/tags", locals: { resource: proposal, tags_class_extra: "tags--proposal" } %> </div> <div class="card__footer"> <div class="card__support"> <% if current_settings.votes_enabled? && !proposal.draft? %> <%= 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
decidim-proposals-0.10.1 | app/views/decidim/proposals/proposals/_proposal.html.erb |
decidim-proposals-0.10.0 | app/views/decidim/proposals/proposals/_proposal.html.erb |