{% extends "base.html" %}

{% block content %}
<h1>{{ category.name }} Tours</h1>

{% for subcategory, subcategory_tours in tours_by_subcategory.items() %}
    <h3>{{ subcategory.name }}</h3>
    <ul>
    {% for tour in subcategory_tours %}
        <li>{{ tour.title }} - {{ tour.duration }} - {{ TourType(tour.tour_type).name }}</li>
    {% endfor %}
    </ul>
{% endfor %}
{% endblock %}
