Handle case election is not open

If the election is not open, user can still see the candidates (used for old election) but
there is no way user can vote, even if he cheats and submit a POST request by hand.
If the election is not open, no need to display the link to vote