First version (still to be reworked) of voting view