%= link_to valuation_budget_budget_investment_path(@budget, @investment), class: "back" do %>
<%= "#{t("valuation.budget_investments.show.title")} #{@investment.id}" %>
<% end %>
<%= t("valuation.budget_investments.edit.dossier") %>
<% if can?(:valuate, @investment) && can?(:edit_dossier, @investment) %>
<%= render partial: "/valuation/budget_investments/dossier_form", locals: {investment: @investment} %>
<% else %>
<%= render partial: "/valuation/budget_investments/dossier_detail", locals: {investment: @investment} %>
<% end %>
<%= render "valuation/budget_investments/valuation_comments" %>
<%= t("valuation.budget_investments.show.preview") %>
<%= render partial: "/budgets/investments/investment_detail", locals: {investment: @investment, preview: true} %>
<%= t("valuation.budget_investments.show.responsibles") %>
<%= t("valuation.budget_investments.show.assigned_admin") %>:
<% if @investment.administrator.present? %>
<%= @investment.administrator.name %> (<%= @investment.administrator.email %>)
<% else %>
<%= t("valuation.budget_investments.show.undefined") %>
<% end %>
<%= t("valuation.budget_investments.show.assigned_valuators") %>:
<% @investment.valuators.each do |valuator| %>
- <%= valuator.name %> (<%= valuator.email %>)
<% end %>
<% if @investment.valuators.empty? %>
- <%= t("valuation.budget_investments.show.undefined") %>
<% end %>