{% if not admin %}
{% if flights %}
Book your flight today!
{% else %}Search for a flight!
{% endif %}Departure Airport
Departure Date
Arrival Airport
Return Date
Airline Name | Flight Number | Departure Time | Arrival Time | {% if username %} {% if not admin %}Action | {% endif %} {% endif %} {% for flight in flights %}
---|---|---|---|---|
{{flight['name']}} | {{flight['num']}} | {{flight['depTime']}} | {{flight['arrTime']}} | {% if username %} {% if not admin %}
|
{% endif %}
{% endif %}