Uses should_show_votes? instead of budget.selecting?

This commit is contained in:
kikito
2016-12-05 17:35:00 +01:00
parent 83fe74d530
commit 407ad301d1

View File

@@ -13,7 +13,7 @@
<div class="supported">
<%= t("budget.investments.investment.already_supported") %>
</div>
<% elsif investment.budget.selecting? %>
<% elsif investment.should_show_votes? %>
<%= link_to vote_url,
class: "button button-support small expanded",