Sha256: 9f7593d96dfc6f04e5ca392a446baece5d549708efd5e0f4bcb5a1a7dfbe92d5
Contents?: true
Size: 1.46 KB
Versions: 3
Compression:
Stored size: 1.46 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"> <%= 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
3 entries across 3 versions & 1 rubygems