<% if investments.any? %>

<%= t("budgets.investments_list.title") %>

<% investments.each do |investment| %> <%= render Budgets::InvestmentComponent.new(investment) %> <% end %>
<% end %> <% if budget.single_heading? && !budget.informing? || investments.any? %>
<%= link_to t("budgets.investments_list.see_all"), see_all_path, class: "button expanded" %>
<% end %>