reorders elements like proposals/show

This commit is contained in:
decabeza
2018-01-04 14:54:40 +01:00
parent c44a1c57af
commit 5fb49c7adf

View File

@@ -31,6 +31,14 @@
<%= t("budgets.investments.show.code_html", code: investment.id) %>
</p>
<%= safe_html_with_links investment.description.html_safe %>
<% if feature?(:map) && map_location_available?(@investment.map_location) %>
<div class="margin">
<%= render_map(@investment.map_location, "budget_investment", false, nil) %>
</div>
<% end %>
<% if investment.location.present? %>
<p>
<%= 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) %>
<div class="margin">
<%= render_map(@investment.map_location, "budget_investment", false, nil) %>
</div>
<% end %>
<% if investment.external_url.present? %>
<div class="document-link">
<%= text_with_links investment.external_url %>