set man_id [ ad_get_client_property trackingrte man_id ]
set community_id [lors::get_community_id]

template::list::create \
    -name students \
    -multirow students \
    -elements {
        course_name { label "Course title" }
        user_id {
            label "student ID"
            display_eval {[person::name -person_id $user_id]}
            link_url_col drill_url
        }
        max_attained { label "Max raw score attained by this student" }
    }

db_multirow \
    -extend {
        edit_url
        drill_url

    } students which_students {} {
        set edit_url [export_vars -base "drill-student" {user_id}]
        set drill_url [export_vars -base "drill-student" {user_id}]
    }
