" style="<%= results_type != :compatible ? "display: none" : "" %>" id="<%= results_type %>-container">

<%= title %>

<% if results_type == :compatible %> <% end %> <% amount_available = heading_price %> <% investments.each do |investment| %> " style="<%= investment.winner? ? "" : "display: none" %>"> <% if results_type == :compatible %> <% end %> <% end %>
<%= t("budgets.results.investment_title") %> <%= t("budgets.results.ballot_lines_count") %> <%= t("budgets.results.price") %> <%= t("budgets.results.amount_available") %>
<%= @budget.formatted_amount(heading_price) %>
<% if investment.winner? %> <%= t("budgets.results.accepted") %> <% else %> <%= t("budgets.results.discarded") %> <% end %> <%= link_to investment.title, budget_investment_path(@budget, investment) %> <%= investment.ballot_lines_count %> <%= @budget.formatted_amount(investment.price) %> <%= @budget.formatted_amount(amount_available - investment.price) %> <% amount_available -= investment.price if investment.winner? %>