<% add_decidim_page_title(t(".title")) %>

<%= t(".title") %> ">
<%= render partial: "bulk-actions" %> <%= render partial: "decidim/admin/components/resource_action" %>

<%= admin_filter_selector(:proposals) %>
<% unless current_settings.publish_answers_immediately? %> <% end %> <% if current_settings.votes_enabled? %> <% end %> <% if current_component.settings.comments_enabled? and !current_settings.comments_blocked? %> <% end %> <% proposals.each do |proposal| %> <%= render partial: "proposal-tr", locals: { proposal: } %> <% end %>
<%= check_box_tag "proposals_bulk", "all", false, class: "js-check-all" %> <%= sort_link(query, :title, t("models.proposal.fields.title", scope: "decidim.proposals") ) %> <%= sort_link(query, :published_at, t("models.proposal.fields.published_at", scope: "decidim.proposals") ) %> <%= sort_link(query, :state_published, t("models.proposal.fields.published_answer", scope: "decidim.proposals") ) %> <%= sort_link(query, :proposal_votes_count, t("models.proposal.fields.votes", scope: "decidim.proposals") ) %> <%= sort_link(query, :comments_count, t("models.proposal.fields.comments", scope: "decidim.proposals") ) %> <%= sort_link(query, :proposal_notes_count, t("models.proposal.fields.notes", scope: "decidim.proposals") ) %> <%= sort_link(query, :valuation_assignments_count, t("models.proposal.fields.valuators", scope: "decidim.proposals") ) %> <%= sort_link(query, :state, [:state, :is_emendation], t("models.proposal.fields.state", scope: "decidim.proposals") ) %> <%= t("actions.title", scope: "decidim.proposals") %>
<%= decidim_paginate proposals %> <%= append_javascript_pack_tag "decidim_proposals_admin" %>