Setting up database functions: inserting a reservation
This commit is contained in:
@ -26,6 +26,21 @@
|
||||
<input type="text" name="last_name" id="last_name" class="form-control {{with .Form.Errors.Get "last_name"}} is-invalid {{end}}"
|
||||
value="{{$res.LastName}}" required autocomplete="off">
|
||||
</div>
|
||||
|
||||
<div class="form-group mt-5">
|
||||
<label for="start_date">Start date:</label>
|
||||
<input type="text" name="start_date" id="start_date" class="form-control"
|
||||
required autocomplete="off">
|
||||
</div>
|
||||
|
||||
<div class="form-group mt-5">
|
||||
<label for="end_date">End date:</label>
|
||||
<input type="text" name="end_date" id="end_date" class="form-control"
|
||||
required autocomplete="off">
|
||||
</div>
|
||||
|
||||
<input type="hidden" name="room_id" value="1">
|
||||
|
||||
<div class="form-group mt-5">
|
||||
<label for="email">Email:</label>
|
||||
{{with .Form.Errors.Get "email"}}
|
||||
|
Reference in New Issue
Block a user