This PR allows for toggling a checkbox that changes the behavior to make the votes able to be multiple on the same candidate instead of maximum 1 per candidate.
The number will follow the maximum range allowed in the number of votes in the setup.
The voting page shows a spinner for each candidate, allowing to either add or remove a vote for this candidate.
This PR allows for toggling a checkbox that changes the behavior to make the votes able to be multiple on the same candidate instead of maximum 1 per candidate.
The number will follow the maximum range allowed in the number of votes in the setup.
The voting page shows a spinner for each candidate, allowing to either add or remove a vote for this candidate.
The spinner is using the neat library https://github.com/shaack/bootstrap-input-spinner, which was (relatively highly) modified to fit my needs and add better configurable support. My fork of his work can be found here : https://github.com/V-ed/bootstrap-input-spinner
It also added an hoverable state to the checkbox labels to explain a bit more how the checkbox changes the app behavior.
Closes #40 Closes #46