diff options
Diffstat (limited to '')
-rw-r--r-- | tmpl/student.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tmpl/student.html b/tmpl/student.html index 8b6982b..0503b04 100644 --- a/tmpl/student.html +++ b/tmpl/student.html @@ -3,7 +3,7 @@ <html lang="en"> <head> <title> - {{ .user.Name }} – CCA Selection System + {{ .Name }} – CCA Selection System </title> <link rel="stylesheet" href="/static/style.css" /> <meta charset="utf-8" /> @@ -38,7 +38,7 @@ </nav> </div> <div class="header-right"> - <p>{{- .user.Name }} ({{ .user.Department -}})</p> + <p>{{- .Name }} ({{ .Department -}})</p> </div> </div> </header> @@ -131,7 +131,7 @@ </tr> </thead> <tbody> - {{- range .courses }} + {{- range .Courses }} <tr class="courseitem" id="course{{.ID}}"> {{ if lt .Selected .Max -}} <th scope="row"><input aria-label="Enroll in course" class="coursecheckbox" type="checkbox" id="tick{{.ID}}" name="tick{{.ID}}" value="tick{{.ID}}"></input><span id="coursestatus{{.ID}}"></span></td> |