{% extends "base.html" %} {% load static %} {% block content %}
{% csrf_token %}
Current Booking
credit_card
{% if booking %}
{% for obj in some_list %} {% if type == "flight" or type == "train" %}

{{obj.sourceLocation}} <-> {{obj.destinationLocation}}

{{obj.departureDate}} @ {{obj.departureTime}}

{% if class == "economy" %}

Economy ${{obj.fareEconomy}}

{% endif %} {% if class == "business" %}

Business ${{obj.fareBusiness}}

{% endif %} {% if class == "first" %}

First ${{obj.fareFirst}}

{% endif %} {% endif %}

{% if type == "hotel" %}

{{obj.address}} {{obj.city}}

${{obj.dailyCost}}

{% endif %} {% endfor %}
{% endif %}
{% if msg %} {{ msg }} {% endif %}


{% if results %}
{% for obj in some_list %}
{{obj.companyName}}

Source: {{obj.sourceLocation}}

Destination: {{obj.destinationLocation}}

Departure Date: {{obj.departureDate}}

Departure Time: {{obj.departureTime}}

{% if class == "economy" %}

Class: economy

Fare: {{obj.fareEconomy}}

Seats Available: {{obj.numSeatsRemainingEconomy}}

{% endif %} {% if class == "business" %}

Class: business

Fare: {{obj.fareBusiness}}

Seats Available: {{obj.numSeatsRemainingBusiness}}

{% endif %} {% if class == "first" %}

Class: first

Fare: {{obj.fareFirst}}

Seats Available: {{obj.numSeatsRemainingFirst}}

{% endif %}
{% endfor %}
{% else %}
A modern responsive front-end travel agency built with Material Design
Unsplashed background img 2

flash_on

Speeds up development

We did most of the heavy lifting for you to provide a default stylings that incorporate our custom components. Additionally, we refined animations and transitions to provide a smoother experience for developers.

group

User Experience Focused

By utilizing elements and principles of Material Design, we were able to create a framework that incorporates components and animations that provide more feedback to users. Additionally, a single underlying responsive system across all platforms allow for a more unified user experience.

settings

Easy to work with

We have provided detailed documentation as well as specific code examples to help new users get started. We are also always open to feedback and can answer any questions a user may have about Materialize.

{% endif %} {% endblock content %}