<%= t(".title") %> ">
<%= render partial: "bulk-actions" %>

<%= admin_filter_selector(:paragraphs) %>
<% if resource_with_scopes_enabled? %> <% end %> <% 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 %> <% paragraphs.each do |paragraph| %> <%= render partial: "paragraph-tr", locals: { paragraph: paragraph } %> <% end %>
<%= check_box_tag "paragraphs_bulk", "all", false, class: "js-check-all" %> <%= sort_link(query, :id, t("models.paragraph.fields.id", scope: "decidim.enhanced_textwork"), default_order: :desc ) %> <%= sort_link(query, :title, t("models.paragraph.fields.title", scope: "decidim.enhanced_textwork") ) %> <%= sort_link(query, :category_name, t("models.paragraph.fields.category", scope: "decidim.enhanced_textwork") ) %> <%= sort_link(query, :scope_name, t("models.paragraph.fields.scope", scope: "decidim.enhanced_textwork") ) %> <%= sort_link(query, :state, [:state, :is_emendation], t("models.paragraph.fields.state", scope: "decidim.enhanced_textwork") ) %> <%= sort_link(query, :state_published, t("models.paragraph.fields.published_answer", scope: "decidim.enhanced_textwork") ) %> <%= sort_link(query, :paragraph_votes_count, t("models.paragraph.fields.votes", scope: "decidim.enhanced_textwork") ) %> <%= sort_link(query, :comments_count, t("models.paragraph.fields.comments", scope: "decidim.enhanced_textwork") ) %> <%= sort_link(query, :paragraph_notes_count, t("models.paragraph.fields.notes", scope: "decidim.enhanced_textwork") ) %> <%= sort_link(query, :valuation_assignments_count, t("models.paragraph.fields.valuators", scope: "decidim.enhanced_textwork") ) %> <%= sort_link(query, :published_at, t("models.paragraph.fields.published_at", scope: "decidim.enhanced_textwork") ) %> <%= t("actions.title", scope: "decidim.enhanced_textwork") %>
<%= paginate paragraphs, theme: "decidim" %>
<%= javascript_pack_tag "decidim_enhanced_textwork_admin" %>