Server-side form validation 1
This commit is contained in:
@ -5,7 +5,9 @@
|
||||
<div class="col">
|
||||
<h1 class="text-center mt-3">Make reservation</h1>
|
||||
|
||||
<form method="post" action="" class="needs-validation" novalidate>
|
||||
<!-- <form method="post" action="" class="needs-validation" novalidate> -->
|
||||
<form method="post" action="" class="" novalidate>
|
||||
<input type="hidden" name="csrf_token" value="{{.CSRFToken}}">
|
||||
<div class="form-group mt-5">
|
||||
<label for="first_name">First name:</label>
|
||||
<input type="text" name="first_name" id="first_name" class="form-control" required
|
||||
|
Reference in New Issue
Block a user