<%= form_tag(update_scope_budget_projects_path, method: :post, remote: true, id: "js-form-scope-change-projects", class: "form form-defaults flex items-center gap-x-2") do %>
<% projects.each do |project| %> <%= check_box_tag "project_ids[]", project.id, false, class: "js-check-all-resources js-resource-id-#{project.id}" %> <% end %>
<%= scopes_select_tag(:scope_id) %> <%= submit_tag( t("decidim.budgets.admin.projects.index.update_scope_button"), id: "js-submit-scope-change-projects", class: "button button__sm button__secondary small button--simple float-left" ) %> <% end %>