fixes back links on valuation budgets
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
<%= link_to "#{t('valuation.budget_investments.show.title')} #{@investment.id}", valuation_budget_budget_investment_path(@budget, @investment), class: 'back' %>
|
||||
<%= link_to valuation_budget_budget_investment_path(@budget, @investment), class: 'back' do %>
|
||||
<span class="icon-angle-left"></span>
|
||||
<%= "#{t('valuation.budget_investments.show.title')} #{@investment.id}"%>
|
||||
<% end %>
|
||||
|
||||
<h2><%= t("valuation.budget_investments.edit.dossier") %></h2>
|
||||
|
||||
<%= form_for(@investment, url: valuate_valuation_budget_budget_investment_path(@budget, @investment), html: {id: "valuation_budget_investment_edit_form"}) do |f| %>
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
<%= render "shared/back_link" %>
|
||||
<%= link_to valuation_budget_budget_investments_path do %>
|
||||
<span class="icon-angle-left"></span>
|
||||
<%= t('shared.back') %>
|
||||
<% end %>
|
||||
|
||||
<h2><%= t("valuation.budget_investments.show.title") %> <%= @investment.id %> </h2>
|
||||
<h1><%= @investment.title %></h1>
|
||||
|
||||
Reference in New Issue
Block a user