firrst commit
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
{% extends 'base.html' %}
|
||||
{% block title %}Booking{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-6">
|
||||
<h1 class="text-center">Book {{ listing.title }}</h1>
|
||||
<form method="POST">
|
||||
<div class="mb-3">
|
||||
<label for="name" class="form-label">Full Name</label>
|
||||
<input type="text" class="form-control" id="name" name="name" required>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="email" class="form-label">Email</label>
|
||||
<input type="email" class="form-control" id="email" name="email" required>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="phone" class="form-label">Phone</label>
|
||||
<input type="text" class="form-control" id="phone" name="phone" required>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="check_in" class="form-label">Check-in Date</label>
|
||||
<input type="date" class="form-control" id="check_in" name="check_in" required>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="check_out" class="form-label">Check-out Date</label>
|
||||
<input type="date" class="form-control" id="check_out" name="check_out" required>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="guests" class="form-label">Number of Guests</label>
|
||||
<input type="number" class="form-control" id="guests" name="guests" required>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary w-100">Confirm Booking</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user