diff --git a/src/Handler/Submission.hs b/src/Handler/Submission.hs index c843f7e1e..bdad11b37 100644 --- a/src/Handler/Submission.hs +++ b/src/Handler/Submission.hs @@ -355,7 +355,7 @@ submissionHelper tid ssh csh shn mcid = do forM raw $ \(E.Value name, E.Value time) -> (name, ) <$> formatTime SelFormatDateTime time return (csheet,buddies,lastEdits,maySubmit,isLecturer,isOwner) ((res,formWidget'), formEnctype) <- runFormPost . makeSubmissionForm sheetCourse msmid (fromMaybe (Upload True) . submissionModeUser $ sheetSubmissionMode) sheetGrouping isLecturer $ bool id (Set.insert $ Right uid) isOwner buddies - let formWidget = wrapForm formWidget' def + let formWidget = wrapForm' BtnHandIn formWidget' def { formAction = Just $ SomeRoute actionUrl , formEncoding = formEnctype }