<% provide :title, t("budgets.executions.page_title", budget: @budget.name) %> <% content_for :meta_description do %><%= @budget.description_for_phase("finished") %><% end %> <% provide :social_media_meta_tags do %> <%= render "shared/social_media_meta_tags", social_url: budget_executions_url(@budget), social_title: @budget.name, social_description: @budget.description_for_phase("finished") %> <% end %> <% content_for :canonical do %> <%= render "shared/canonical", href: budget_executions_url(@budget) %> <% end %>
<%= back_link_to budgets_path %>

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

<%= t("budgets.executions.heading_selection_title") %>

<%= form_tag(budget_executions_path(@budget), method: :get) do %>
<%= label_tag :status, t("budgets.executions.filters.label") %> <%= select_tag :status, options_from_collection_for_select(@statuses, :id, lambda { |s| "#{s.name} (#{filters_select_counts(s.id)})" }, params[:status]), class: "js-submit-on-change", prompt: t("budgets.executions.filters.all", count: @budget.investments.winners.with_milestones.count) %>
<% end %> <% if @investments_by_heading.any? %> <%= render "budgets/executions/investments" %> <% else %>
<%= t("budgets.executions.no_winner_investments") %>
<% end %>