Closed Nagasaki45 closed 10 years ago
No need to move the buttons, the following html snippet, together with the jquery script votes.js can handle everything:
<button class="btn btn-block btn-candidate" name="{{ candidate.pk }}" value="{{ user|button_value:candidate }}"></button>
And include it in the appropriate places in index.html and candidates.html