diff --git a/vote/static/vote/js/vote.js b/vote/static/vote/js/vote.js index 866f51e526311303087c0725f706295c6fdc9210..3f20112661642f7da33d88fb6aaaa313b96558c0 100644 --- a/vote/static/vote/js/vote.js +++ b/vote/static/vote/js/vote.js @@ -20,6 +20,7 @@ document.querySelectorAll(".vote-list input[type='radio']").forEach(function(inp }); document.querySelectorAll("#all-yes").forEach(function(btn) { + btn.parentNode.classList.remove('d-none'); btn.onclick = function() { var voteList = document.querySelector('.vote-list'); voteList.querySelectorAll("input[type='radio'][value='accept']").forEach(function(input) { diff --git a/vote/templates/vote/vote.html b/vote/templates/vote/vote.html index 82a26028f6558ac686adf594cc9276f35b321f0d..10e8916b245a589685715a07d64eaa6eb65d466f 100644 --- a/vote/templates/vote/vote.html +++ b/vote/templates/vote/vote.html @@ -42,7 +42,7 @@ </div> </div> {% if max_votes_yes > 1 and max_votes_yes >= form.num_applications %} - <div class="mt-4 text-right"> + <div class="mt-4 text-right d-none"> <button type="button" class="btn btn-success" id="all-yes">Select YES for all {{ form.num_applications }} applicants</button> </div> {% endif %}