{% extends "base.html" %} {% block title %} {{ object.title }} {% endblock %} {% block content %} {% with subject=course.subject %}

{{ object.title }}

Ogólny opis kursu

{{ subject.title }}, {{ course.modules.count }} moduł{{ course.modules.count|pluralize:"y" }}, instruktor: {{ course.owner.get_full_name }}

{{ object.overview|linebreaks }} {% if request.user.is_authenticated %}
{{ enroll_form }} {% csrf_token %}
{% else %} Zarejestruj się, aby zostać uczestnikiem kursu {% endif %}
{% endwith %} {% endblock %}