Do not display voting button for unselected investments

This commit is contained in:
rgarcia
2017-05-14 18:15:04 +02:00
parent 207b300d3e
commit 9a75067d73
2 changed files with 19 additions and 1 deletions

View File

@@ -216,7 +216,7 @@ class Budget
end
def should_show_ballots?
budget.balloting?
budget.balloting? && selected?
end
def should_show_price?