Gives you access to all amenities and their attributes.
{% for amenity in amenities %}
{% if amenity.available %}
<li class="available"><i class="fa-li fa fa-check-circle-o"></i> {{ amenity.name }}</li>
{% else %}
<li class="unavailable"><i class="fa-li fa fa-circle-o"></i> {{ amenity.name }}</li>
{% endif %}
{% endfor %}
Available attributes:
Name | Type | Description |
---|---|---|
available | Boolean | if amenity is available or not |
details | String | translated amenity’s details |
id | String | amenity uniq identifier |
name | String | translated amenity’s name |
selected | Boolean | if amenity is selected or not |