We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cb5ae2 commit 0e0a36dCopy full SHA for 0e0a36d
templates/booking.html
@@ -10,7 +10,8 @@ <h2>{{competition['name']}}</h2>
10
<form action="/purchasePlaces" method="post">
11
<input type="hidden" name="club" value="{{club['name']}}">
12
<input type="hidden" name="competition" value="{{competition['name']}}">
13
- <label for="places">How many places?</label><input type="number" min="0" max="{{club['points']}}" name="places" id=""/>
+ <label for="places">How many places?</label>
14
+ <input type="number" min="0" max="{{ 12 if club['points'] > 12 else club['points'] }}" name="places" id=""/>
15
<button type="submit">Book</button>
16
</form>
17
</body>
0 commit comments