Amenities

This commit is contained in:
2025-01-21 23:44:54 +08:00
parent 95822c0bfb
commit 37ae72ceef
4 changed files with 44 additions and 3 deletions
+9
View File
@@ -16,6 +16,15 @@
<p><strong>Bathrooms:</strong> {{ listing.bathrooms }}</p>
<p><strong>Beds:</strong> {{ listing.beds }}</p>
{% if amenities %}
<h4>Additional Amenities:</h4>
<ul>
{% for amenity in amenities %}
<li>{{ amenity.amenity }}</li>
{% endfor %}
</ul>
{% endif %}
<a href="/booking/{{ listing.id }}" class="btn btn-primary mt-3">Book This Listing</a>
</div>
{% endblock %}