<% provide :title, t("budgets.results.page_title", budget: @budget.name) %> <% content_for :canonical do %> <%= render "shared/canonical", href: budget_results_url(@budget, heading_id: @heading) %> <% end %>
<%= back_link_to budget_path(@budget) %>

<%= @budget.name %>
<%= t("budgets.results.heading") %>

<%= link_to t("budgets.results.show_all_link"), "#", class: "js-toggle-link button hollow margin-bottom", data: {'toggle-selector' => '.js-discarded', 'toggle-text' => t("budgets.results.hide_discarded_link")} %> <%= render 'results_table', results_type: :compatible, title: @heading.name, heading_price: @heading.price, investments: @investments.compatible %> <% if @investments.incompatible.present? %> <%= render 'results_table', results_type: :incompatible, title: t("budgets.results.incompatibles"), heading_price: @heading.price, investments: @investments.incompatible %> <% end %>