Files
nairobi/app/views/budgets/ballot/lines/create.js.erb
Javi Martín 2216cb91d1 Use local variables in progress bar partial
We were even passing the `ballot` local variable in some places, which
was ignored because we were using instace variables.
2020-07-30 16:20:00 +02:00

9 lines
313 B
Plaintext

$("#progress_bar").html("<%= j render("/budgets/ballot/progress_bar", ballot: @ballot, heading: @heading) %>");
$("#sidebar").html("<%= j render("/budgets/investments/sidebar") %>");
<%= render "refresh_ballots",
investment_ids: @investment_ids,
ballot: @ballot %>
App.Map.initialize();