Rename written_by_authors partial to dossier
Its more descriptive in the contexts where its rendered
This commit is contained in:
@@ -92,6 +92,3 @@
|
||||
<%= f.submit(class: "button", value: t("admin.budget_investments.edit.submit_button")) %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
<hr>
|
||||
<%# render 'valuation/budget_investments/written_by_valuators' %>
|
||||
|
||||
@@ -40,14 +40,11 @@
|
||||
<hr>
|
||||
|
||||
<h2><%= t("admin.budget_investments.show.dossier") %></h2>
|
||||
|
||||
<%= render 'valuation/budget_investments/written_by_valuators' %>
|
||||
|
||||
<%= render 'valuation/budget_investments/dossier' %>
|
||||
<p>
|
||||
<%= link_to t("admin.budget_investments.show.edit_dossier"), edit_valuation_budget_budget_investment_path(@budget, @investment) unless @budget.finished? %>
|
||||
</p>
|
||||
|
||||
<hr>
|
||||
|
||||
<h2><%= t("admin.budget_investments.show.milestone") %></h2>
|
||||
|
||||
|
||||
@@ -47,9 +47,8 @@
|
||||
</div>
|
||||
|
||||
<h2><%= t("valuation.budget_investments.show.dossier") %></h2>
|
||||
|
||||
<p>
|
||||
<%= link_to t("valuation.budget_investments.show.edit_dossier"), edit_valuation_budget_budget_investment_path(@budget, @investment) %>
|
||||
</p>
|
||||
<%= render 'dossier' %>
|
||||
|
||||
<%= render 'written_by_valuators' %>
|
||||
|
||||
Reference in New Issue
Block a user