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

<%= link_to decidim_escape_translated(budget.title), budgets_path %> > <%= t(".title") %> ">
<%= render partial: "bulk-actions" %>

<%= admin_filter_selector(:projects) %>
<% if current_component.has_subscopes? %> <%= th_scope_sort_link %> <% end %> <% projects.each do |project| %> <%= render partial: "project-tr", locals: { project: } %> <% end %>
<%= check_box_tag "projects_bulk", "all", false, class: "js-check-all" %> <%= sort_link(query, :id, t("models.project.fields.id", scope: "decidim.budgets"), default_order: :desc) %> <%= sort_link(query, :title, t("models.project.fields.title", scope: "decidim.budgets")) %> <%= sort_link(query, :category_name, t("models.project.fields.category", scope: "decidim.budgets") ) %><%= sort_link(query, :confirmed_orders_count, t("index.confirmed_orders_count")) %> <%= sort_link(query, :selected, t(".selected")) %> <%= t("actions.title", scope: "decidim.budgets") %>
<%= decidim_paginate projects %>
<%= t ".finished_orders" %>: <%= finished_orders.count %>  |  <%= t ".pending_orders" %>: <%= pending_orders.count %>
<%= append_javascript_pack_tag "decidim_budgets_admin" %>