Fix csrf
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
<h2>Log My Ticket</h2>
|
<h2>Log My Ticket</h2>
|
||||||
|
|
||||||
<form method="POST" action="/account/tickets/add_ticket" enctype="multipart/form-data" id="ticketForm">
|
<form method="POST" action="/account/tickets/add_ticket" enctype="multipart/form-data" id="ticketForm">
|
||||||
{{ .csrfField }}
|
<input type="hidden" name="csrf_token" value="{{ $.CSRFToken }}">
|
||||||
|
|
||||||
<div class="form-section">
|
<div class="form-section">
|
||||||
<label>Game:
|
<label>Game:
|
||||||
@@ -49,7 +49,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="ticketLinesContainer">
|
<div id="ticketLinesContainer">
|
||||||
<!-- JS will insert ticket lines here -->
|
<!-- todo, maybe ajax so it doesnt refresh?-->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-section">
|
<div class="form-section">
|
||||||
|
|||||||
Reference in New Issue
Block a user