{% extends "base.html" %} {% from "macros.html" import flight_booking_row, train_row with context %} {% block title %}Travel - Edward Betts{% endblock %} {% set flight_column_count = 10 %} {% set column_count = 10 %} {% block style %} {% endblock %} {% block content %}

Travel

flights

reference
price
date
route
take-off
land
duration
flight
tracking
distance
{% for item in flights %} {{ flight_booking_row(item) }} {% endfor %}

trains

date
route
depart
arrive
duration
operator
reference
{% for item in trains | sort(attribute="depart") %} {{ train_row(item) }} {% endfor %}
{% endblock %}