<%= proposal.id %>
|
<%= proposal.title %>
|
<% if proposal.category %>
<%= translated_attribute proposal.category.name %>
<% end %>
|
<% if scopes_enabled?(current_participatory_space) %>
<% if proposal.scope %>
<%= translated_attribute proposal.scope.name %>
<% else %>
<%= t("decidim.scopes.global") %>
<% end %>
|
<% end %>
<%= humanize_proposal_state proposal.state %>
|
<% if current_settings.votes_enabled? %>
<%= proposal.votes.count %>
|
<% end %>
<% if can? :update, proposal %>
<%= icon_link_to "conversation", edit_proposal_proposal_answer_path(proposal_id: proposal.id, id: proposal.id), t("actions.answer", scope: "decidim.proposals"), class: "action-icon--edit-answer" %>
<% end %>
<%= icon_link_to "eye", resource_locator(proposal).path, t("actions.preview", scope: "decidim.proposals.admin"), class: "action-icon--preview", target: :blank %>
|
<% end %>