Amenities
This commit is contained in:
@@ -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 %}
|
||||
Reference in New Issue
Block a user