<%= form_tag(update_scope_paragraphs_path, method: :post, remote: true, id: "js-form-scope-change-paragraphs", class: "flex--cc flex-gap--1") do %>
<% paragraphs.each do |paragraph| %> <%= check_box_tag "paragraph_ids[]", paragraph.id, false, class: "js-check-all-paragraph js-paragraph-id-#{paragraph.id}" %> <% end %>
<%= scopes_picker_tag( :scope_id, try(:current_participatory_space)&.scope, field: t("models.paragraph.fields.scope", scope: "decidim.enhanced_textwork") ) %> <%= submit_tag( t("decidim.enhanced_textwork.admin.paragraphs.index.update_scope_button"), id: "js-submit-scope-change-paragraphs", class: "button small button--simple float-left" ) %> <% end %>