<%= back_link_to valuation_budget_budget_investments_path %>

<%= t("admin.budget_investments.show.preview") %>

<%= link_to t("admin.budget_investments.show.edit"), edit_valuation_budget_budget_investment_path( @budget, @investment, Budget::Investment.filter_params(params) ), class: "button hollow" unless @budget.finished? %>

<%= render partial: "/budgets/investments/investment_detail", locals: {investment: @investment, preview: true} %> <% if @investment.external_url.present? %>

<%= text_with_links @investment.external_url %>

<% end %>

<%= t("valuation.budget_investments.show.responsibles") %>

<%= t("valuation.budget_investments.show.assigned_admin") %>: <% if @investment.administrator.present? %> <%= @investment.administrator.name_and_email %> <% else %> <%= t("valuation.budget_investments.show.undefined") %> <% end %>

<%= t("valuation.budget_investments.show.assigned_valuators") %>:


<%= t("valuation.budget_investments.show.dossier") %>

<%= link_to t("valuation.budget_investments.show.edit_dossier"), edit_valuation_budget_budget_investment_path(@budget, @investment) %>

<%= render "dossier" %>
<%= render "valuation/budget_investments/valuation_comments" %>