From 5fb49c7adfcb0653788fd909ada50b4b43be1fbc Mon Sep 17 00:00:00 2001
From: decabeza
Date: Thu, 4 Jan 2018 14:54:40 +0100
Subject: [PATCH] reorders elements like proposals/show
---
.../investments/_investment_show.html.erb | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/app/views/budgets/investments/_investment_show.html.erb b/app/views/budgets/investments/_investment_show.html.erb
index ab3d14c1d..f81dd43b8 100644
--- a/app/views/budgets/investments/_investment_show.html.erb
+++ b/app/views/budgets/investments/_investment_show.html.erb
@@ -31,6 +31,14 @@
<%= t("budgets.investments.show.code_html", code: investment.id) %>
+ <%= safe_html_with_links investment.description.html_safe %>
+
+ <% if feature?(:map) && map_location_available?(@investment.map_location) %>
+
+ <%= render_map(@investment.map_location, "budget_investment", false, nil) %>
+
+ <% end %>
+
<% if investment.location.present? %>
<%= t("budgets.investments.show.location_html", location: investment.location) %>
@@ -45,14 +53,6 @@
<%= render 'shared/tags', taggable: investment %>
- <%= safe_html_with_links investment.description.html_safe %>
-
- <% if feature?(:map) && map_location_available?(@investment.map_location) %>
-
- <%= render_map(@investment.map_location, "budget_investment", false, nil) %>
-
- <% end %>
-
<% if investment.external_url.present? %>
<%= text_with_links investment.external_url %>