fixed bug in voting#commit
switched to HAML