app/views/budgets/ballot/lines/destroy.js.erb
$("#progress_bar").html("<%= j render("budgets/ballot/progress_bar", ballot: @ballot, heading: @heading) %>");
$("#my_ballot").html("<%= j render(
Budgets::Investments::MyBallotComponent.new(
ballot: @ballot,
heading: @heading,
investment_ids: @investment_ids
)
) %>");
$("#ballot").html("<%= j render("budgets/ballot/ballot") %>")
<%= render "refresh_ballots",
investment_ids: @investment_ids,
ballot: @ballot %>