Improvements

This commit is contained in:
Edward Betts 2023-09-11 07:00:20 +01:00
parent 7599f655ad
commit b6f0c88320
7 changed files with 139 additions and 27 deletions

View file

@ -36,11 +36,27 @@ a:link {
<p><a href="{{ url_for(other + "_page") }}">{{ other }}</a></p>
#}
<ul>
<li><a href="?adults=2&small_dogs=1">2 adults and a dog</a></li>
<li><a href="?adults=2&small_dogs=0">2 adults</a></li>
<li><a href="?adults=1&small_dogs=0">1 adult</a></li>
</ul>
<p>
Passengers:
{% for o in pax_options %}
{% if o.pax == pax %}
<strong>{{ o.label }}</strong>
{% else %}
<a href="?adults={{ o.pax.adults}}&small_dogs={{ o.pax.small_dogs }}">{{ o.label }}</a>
{% endif %}
{% if not loop.last %}|{% endif %}
{% endfor %}
</p>
{% if rear_mounted_bike_carrier %}
<p>Bike carrier: <strong>yes</strong> | <a href="{{ url_for(request.endpoint) }}">no</a></p>
{% else %}
<p>Bike carrier:
<a href="{{ url_for(request.endpoint, rear_mounted_bike_carrier='true') }}">yes</a>
|
<strong>no</strong>
</p>
{% endif %}
{% if extra_routes %}
<ul>