diff --git a/app/views/budgets/investments/_investment_show.html.erb b/app/views/budgets/investments/_investment_show.html.erb index 8fa83c1e9..dd3d2aea6 100644 --- a/app/views/budgets/investments/_investment_show.html.erb +++ b/app/views/budgets/investments/_investment_show.html.erb @@ -1,5 +1,4 @@
-
<%= back_link_to budget_investments_path(investment.budget, heading_id: investment.heading) %> @@ -18,7 +17,6 @@ <% end %>

<%= investment.title %>

-
<%= render '/shared/author_info', resource: investment %>  •  @@ -27,7 +25,6 @@ <%= investment.heading.name %>

- <% if investment.image.exists? %>
@@ -46,19 +43,16 @@

<%= t("budgets.investments.show.code_html", code: investment.id) %>

- <% if investment.location.present? %>

<%= t("budgets.investments.show.location_html", location: investment.location) %>

<% end %> - <% if investment.organization_name.present? %>

<%= t("budgets.investments.show.organization_name_html", name: investment.organization_name) %>

<% end %> - <%= render 'shared/tags', taggable: investment %> <%= safe_html_with_links investment.description.html_safe %> @@ -68,12 +62,10 @@ <%= text_with_links investment.external_url %>
<% end %> - <% if investment.unfeasible? && investment.unfeasibility_explanation.present? %>

<%= t('budgets.investments.show.unfeasibility_explanation') %>

<%= investment.unfeasibility_explanation %>

<% end %> - <% if investment.should_show_price_info? %>

<%= t('budgets.investments.show.price_explanation') %>

<%= investment.price_explanation %>