{% extends 'learning/base.html' %} {% block content %}

{{ course.title }}

{{ course.description }}

{{ course.price|default:"Free" }}

Create a New Section

{% csrf_token %}
{{ section_form.as_p }}

Sections and Lessons

{% for section in course.sections.all %}
{{ section.title }} (Order: {{ section.order }})
{% csrf_token %}
    {% for lesson in section.lessons.all %}
  • {{ lesson.title }}
    View
  • {% empty %}
  • No lessons in this section yet.
  • {% endfor %}
Create Lesson in "{{ section.title }}"
{% csrf_token %}
{{ lesson_form.as_p }}
{% empty %}

No sections available yet.

{% endfor %}
{% endblock %}