Improve pet accomodation formatting

This commit is contained in:
Edward Betts 2023-01-08 11:54:53 +00:00
parent ebe672b972
commit 70db886a81

View file

@ -60,13 +60,13 @@ a:link {
<h4>Pet accommodations</h4> <h4>Pet accommodations</h4>
<p> {% set pets = {"G": "stay in car", "B": "large kennel", "K": "small kennel" } %}
o.petStayInCar = 'G',<br>
o.petLargeKennel = 'B',<br>
o.petSmallKennel = 'K',<br>
</p>
<pre>{{ pet_accommodations | tojson }}</pre> <ul>
{% for i in pet_accommodations if i.quantityAvailable and i.quantityAvailable > 0 %}
<li>{{ pets[i.code] }}</li>
{% endfor %}
</ul>
</div> </div>
</body> </body>