{% extends "base.html" %} {% block title %}{{ lesson_data.get('title', 'Lesson') }} — Claw-ED{% endblock %} {% block content %}

Lesson {{ lesson_data.get('lesson_number', '') }}: {{ lesson_data.get('title', 'Untitled') }}

{% if lesson_data.get('standards') %} {{ lesson_data['standards']|join(', ') }} {% endif %} Share: {{ share_url }}

Objective

{{ lesson_data.get('objective', '') }}

{% if lesson_data.get('do_now') %}

Do-Now / Warm-Up

{% set warmup = lesson_data['do_now'] %} {% if warmup is mapping %}

{{ warmup.get('stimulus', '') }}

    {% for question in warmup.get('questions', []) %}
  1. {{ question }}
  2. {% endfor %}
{% else %}

{{ warmup }}

{% endif %}
{% endif %} {% if lesson_data.get('direct_instruction') %}

Direct Instruction

{% set instruction = lesson_data['direct_instruction'] %} {% if instruction is string %}

{{ instruction }}

{% else %} {% for section in instruction %} {% if section is mapping %}

{{ section.get('heading', '') }}

{{ section.get('content', '') }}

{% if not is_shared|default(false) and section.get('teacher_script') %}
Teacher notes

{{ section['teacher_script'] }}

{% endif %} {% else %}

{{ section }}

{% endif %} {% endfor %} {% endif %}
{% endif %} {% if lesson_data.get('guided_practice') %}

Guided Practice

{{ lesson_data['guided_practice'] }}

{% endif %} {% if lesson_data.get('independent_work') %}

Independent Work

{% set work = lesson_data['independent_work'] %}

{{ work.get('task', '') if work is mapping else work }}

{% endif %} {% if lesson_data.get('exit_ticket') %}

Exit Ticket

    {% for et in lesson_data['exit_ticket'] %}
  1. {{ et.get('question', et) if et is mapping else et }}
  2. {% endfor %}
{% endif %} {% if lesson_data.get('homework') %}

Homework

{{ lesson_data['homework'] }}

{% endif %} {% if lesson_data.get('differentiation') %}

Differentiation

{% set diff = lesson_data['differentiation'] %} {% if diff.get('struggling') %}

Struggling: {{ diff['struggling']|join('; ') }}

{% endif %} {% if diff.get('advanced') %}

Advanced: {{ diff['advanced']|join('; ') }}

{% endif %} {% if diff.get('ell') %}

ELL: {{ diff['ell']|join('; ') }}

{% endif %}
{% endif %} {% if not is_shared|default(false) %}

Quality Score

{% if scores %}
{% for dim, info in scores.items() if dim != 'overall' %}
{{ dim.replace('_', ' ').title() }} {{ info.score }}/5 {{ info.explanation }}
{% endfor %}
Overall: {{ scores.overall }}/5
{% else %} {% endif %}

Improvement Suggestions

Export

Markdown PDF DOCX
{% endif %}
{% if not is_shared|default(false) %} {% if embed_snippet %} {% endif %} {% if feedback_list %} {% endif %} {% endif %}
{% endblock %} {% block scripts %} {% endblock %}