Improve pet accomodation formatting
This commit is contained in:
parent
ebe672b972
commit
70db886a81
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue