Avoids show duplicated budget investment price

This commit is contained in:
decabeza
2018-05-21 17:07:58 +02:00
parent cce1c82427
commit 503a4e0395

View File

@@ -146,7 +146,6 @@
<%= t("budgets.investments.show.project_not_selected_html") %> <%= t("budgets.investments.show.project_not_selected_html") %>
</div> </div>
<% end %> <% end %>
<% end %>
<% if investment.should_show_price? %> <% if investment.should_show_price? %>
<div class="sidebar-divider"></div> <div class="sidebar-divider"></div>
<h2><%= t("budgets.investments.show.price") %></h2> <h2><%= t("budgets.investments.show.price") %></h2>
@@ -156,6 +155,7 @@
</p> </p>
</div> </div>
<% end %> <% end %>
<% end %>
<%= render partial: 'shared/social_share', locals: { <%= render partial: 'shared/social_share', locals: {
share_title: t("budgets.investments.show.share"), share_title: t("budgets.investments.show.share"),
title: investment.title, title: investment.title,