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,15 +146,15 @@
<%= 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> <div class="supports text-center">
<div class="supports text-center"> <p class="investment-project-amount">
<p class="investment-project-amount"> <%= investment.formatted_price %>
<%= investment.formatted_price %> </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"),