create ticket input
This commit is contained in:
26
templates/new_ticket.html
Normal file
26
templates/new_ticket.html
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
{{ define "new_ticket" }}
|
||||||
|
<a href="/">← Back</a>
|
||||||
|
<h2>Log My Ticket</h2>
|
||||||
|
<form method="POST" action="/submit-ticket">
|
||||||
|
<div class="form-section">
|
||||||
|
<label>Draw Date:
|
||||||
|
<select name="draw_date" required>
|
||||||
|
{{ range .DrawDates }}
|
||||||
|
<option value="{{ . }}">{{ . }}</option>
|
||||||
|
{{ end }}
|
||||||
|
</select>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
<div class="form-section">
|
||||||
|
<label>Ball 1: <input type="text" name="ball1" required></label>
|
||||||
|
<label>Ball 2: <input type="text" name="ball2" required></label>
|
||||||
|
<label>Ball 3: <input type="text" name="ball3" required></label>
|
||||||
|
<label>Ball 4: <input type="text" name="ball4" required></label>
|
||||||
|
<label>Ball 5: <input type="text" name="ball5" required></label>
|
||||||
|
</div>
|
||||||
|
<div class="form-section">
|
||||||
|
<label>Thunderball: <input type="text" name="thunderball" required></label>
|
||||||
|
</div>
|
||||||
|
<button type="submit">Save Ticket</button>
|
||||||
|
</form>
|
||||||
|
{{ end }}
|
||||||
Reference in New Issue
Block a user