<%= check_box_tag "proposal_ids_s[]", proposal.id, false, class: "js-check-all-proposal js-proposal-list-check js-proposal-id-#{proposal.id}" %>
<%= proposal.id %>
<%= present(proposal).title %>
<% if proposal.category %> <%= translated_attribute proposal.category.name %> <% end %> <% if current_participatory_space.scopes_enabled? %> <% 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.proposal_votes_count %> <% end %> <% if current_component.settings.comments_enabled? and !current_settings.comments_blocked? %> <%= proposal.comments.count %> <% end %> <% if allowed_to? :create, :proposal_note %> <%= proposal.proposal_notes_count %> <% end %> <%= l proposal.created_at, format: :decidim_short %> <% if allowed_to? :edit, :proposal, proposal: proposal %> <%= icon_link_to "pencil", edit_proposal_path(proposal), t("actions.edit_proposal", scope: "decidim.proposals"), class: "action-icon--edit-proposal" %> <% end %> <% if allowed_to? :create, :proposal_note %> <%= icon_link_to "chat", proposal_proposal_notes_path(proposal_id: proposal.id), t("actions.private_notes", scope: "decidim.proposals"), class: "action-icon--index-notes" %> <% end %> <% if allowed_to? :create, :proposal_answer %> <%= icon_link_to "comment-square", edit_proposal_proposal_answer_path(proposal_id: proposal.id, id: proposal.id), t("actions.answer", scope: "decidim.proposals"), class: "action-icon--edit-answer" %> <% end %> <%= resource_permissions_link(proposal) %> <%= icon_link_to "eye", resource_locator(proposal).path, t("actions.preview", scope: "decidim.proposals.admin"), class: "action-icon--preview", target: :blank %>