Skip to content

Commit

Permalink
Update confirm.html
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMusch authored Oct 17, 2024
1 parent 3bd2933 commit 7d4e243
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions deployer/templates/confirm.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ <h1>Finalize Tournament</h1>
checkbox.addEventListener('change', function() {
document.tournament.stripe_token = null;
if (this.checked) {
submit.value = 'Confirm & Pay {{ cents_as_string(base_cost + test_cost) }}'
submit.value = 'Confirm & Pay {{ cents_as_string(fixed_cost + base_cost + test_cost) }}'
stripeCost = {{ base_cost + test_cost }}
} else {
submit.value = 'Confirm & Pay {{ cents_as_string(base_cost) }}'
submit.value = 'Confirm & Pay {{ cents_as_string(fixed_cost + base_cost) }}'
stripeCost = {{ base_cost }}
}
});
Expand Down Expand Up @@ -103,7 +103,7 @@ <h1>Finalize Tournament</h1>

<input type="submit"
id="submit_button"
value="Confirm & Pay {{ cents_as_string(base_cost) }}"
value="Confirm & Pay {{ cents_as_string(fixed_cost + base_cost) }}"
class="btn btn-primary" />
</form>
{% endblock %}

0 comments on commit 7d4e243

Please sign in to comment.