{% extends "base.html" %} {% block title %} {% if subject %} Kursy z dziedziny: {{ subject.title }} {% else %} Wszystkie kursy {% endif %} {% endblock %} {% block content %}

{% if subject %} Kursy z dziedziny: {{ subject.title }} {% else %} Wszystkie kursy {% endif %}

Tematy

{% for course in courses %} {% with subject=course.subject %}

{{ course.title }}

{{ subject }}. {{ course.total_modules }} moduĊ‚{{ course.total_modules|pluralize:"y" }}. Instruktor: {{ course.owner.get_full_name }}

{% endwith %} {% endfor %}
{% endblock %}