Capture votes
When clicking on a desk, replace the page content by a table with the list of Candidate List in the first column and the number of voice if captured, null otherwise.
The last two lines of the table are for Blank and Null votes.
After the table add a section with 4 buttons :
- the first to go back to the desk List (reload the previous content)
- the second to cancel editing (reload the content)
- the third to remove all votes for the desk
- the last to save votes (available only when all votes have been captured)
Saving vote will check if the desk have votes recorded, if not it will POST all votes, otherwise PUT them.
Edited by Alexis POYEN