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")) %>
|
<%= f.submit(class: "button", value: t("admin.budget_investments.edit.submit_button")) %>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<hr>
|
|
||||||
<%# render 'valuation/budget_investments/written_by_valuators' %>
|
|
||||||
|
|||||||
@@ -40,14 +40,11 @@
|
|||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h2><%= t("admin.budget_investments.show.dossier") %></h2>
|
<h2><%= t("admin.budget_investments.show.dossier") %></h2>
|
||||||
|
<%= render 'valuation/budget_investments/dossier' %>
|
||||||
<%= render 'valuation/budget_investments/written_by_valuators' %>
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<%= link_to t("admin.budget_investments.show.edit_dossier"), edit_valuation_budget_budget_investment_path(@budget, @investment) unless @budget.finished? %>
|
<%= link_to t("admin.budget_investments.show.edit_dossier"), edit_valuation_budget_budget_investment_path(@budget, @investment) unless @budget.finished? %>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<h2><%= t("admin.budget_investments.show.milestone") %></h2>
|
<h2><%= t("admin.budget_investments.show.milestone") %></h2>
|
||||||
|
|
||||||
|
|||||||
@@ -47,9 +47,8 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h2><%= t("valuation.budget_investments.show.dossier") %></h2>
|
<h2><%= t("valuation.budget_investments.show.dossier") %></h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<%= link_to t("valuation.budget_investments.show.edit_dossier"), edit_valuation_budget_budget_investment_path(@budget, @investment) %>
|
<%= link_to t("valuation.budget_investments.show.edit_dossier"), edit_valuation_budget_budget_investment_path(@budget, @investment) %>
|
||||||
</p>
|
</p>
|
||||||
|
<%= render 'dossier' %>
|
||||||
|
|
||||||
<%= render 'written_by_valuators' %>
|
|
||||||
|
|||||||
Reference in New Issue
Block a user