32 lines
902 B
HTML
32 lines
902 B
HTML
{% extends "base.html" %}
|
|
|
|
{% load wagtailcore_tags %}
|
|
|
|
{% block body_class %}template-cicle{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="w-full flex mt-6">
|
|
<div class="bg-white flex-col w-1/3 m-5">
|
|
<div><a href="{% pageurl page.get_parent.get_parent %}">Zurück zum Lernpfad</a></div>
|
|
<h1 class="font-bold text-5xl mt-6 mb-4">{{ page.title }}</h1>
|
|
<div class="mt4">{{ page.description }}</div>
|
|
<div class="mt-4">{{ page.goals }}</div>
|
|
</div>
|
|
|
|
<div class="bg-gray-50 flex-col w-2/3">
|
|
{% for learning_sequence in page.get_children %}
|
|
<div class="p-6 max-w-sm mx-auto bg-white shadow-lg m-4">
|
|
<h2 class="font-bold">{{ learning_sequence.title }}</h2>
|
|
{% for learning_unit in learning_sequence.get_children %}
|
|
<div>
|
|
<h3>{{ learning_unit.title }}</h3>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
|
|
|
|
{% endblock %}
|