master
module BallotsHelper def progress_bar_width(amount_available, amount_spent) (amount_spent / amount_available.to_f * 100).to_s + "%" end end