We were using single quotes inside ERB code when that code was inside HTML double quotes.
14 lines
679 B
Plaintext
14 lines
679 B
Plaintext
$("#progress_bar").html("<%= j render("/budgets/ballot/progress_bar", ballot: @ballot) %>");
|
|
$("#sidebar").html("<%= j render("/budgets/investments/sidebar") %>");
|
|
$("#<%= dom_id(@investment) %>_ballot").html("<%= j render("/budgets/investments/ballot",
|
|
investment: @investment,
|
|
investment_ids: @investment_ids,
|
|
ballot: @ballot) %>");
|
|
|
|
<%= render "refresh_ballots",
|
|
investment: @investment,
|
|
investment_ids: @investment_ids,
|
|
ballot: @ballot %>
|
|
|
|
App.Map.initialize();
|