Minor; comments added.

This commit is contained in:
SJost 2018-06-28 09:29:05 +02:00
parent b6772a175b
commit afe8a92111
3 changed files with 3 additions and 2 deletions

View File

@ -75,7 +75,7 @@ homeAnonymous = do
let tid = courseTerm course
csh = courseShorthand course
cell [whamlet|<a href=@{CourseR tid csh CShowR}>#{display csh}|]
, sortable (Just "deadline") (i18nCell MsgDeadline) $ \DBRow{ dbrOutput=(Entity {entityVal = course}) } ->
, sortable (Just "deadline") (i18nCell MsgRegisterTo) $ \DBRow{ dbrOutput=(Entity {entityVal = course}) } ->
textCell $ display $ courseRegisterTo course
]
courseTable <- dbTable def $ DBTable

View File

@ -35,6 +35,7 @@
$if registrationOpen
<div .course__registration.container>
<form method=post action=@{CourseR tid csh CRegisterR} enctype=#{regEnctype}>
$# regWidget is defined through templates/widgets/registerForm
^{regWidget}
$# <div .container>

View File

@ -1,4 +1,4 @@
$# protects against CSRF
$# extra protects us against CSRF
#{extra}
$# Maybe display textField for passcode
$maybe secretView <- msecretView