Merge remote-tracking branch 'origin/master' into feat/exercises

This commit is contained in:
SJost 2018-04-03 16:58:25 +02:00
commit 2714485dbd

View File

@ -301,6 +301,8 @@ sheetTypeAFormReq d Nothing =
sheetTypeAFormReq d (Just (Normal p)) =
-- TODO, offer options to choose between Normal/Bonus/Pass
(Normal . toPoints) <$> areq (natField "Punkte") d (Just $ fromPoints p)
sheetTypeAFormReq d (Just (NotGraded)) = pure NotGraded
sheetGroupAFormReq :: FieldSettings UniWorX -> Maybe SheetGroup -> AForm Handler SheetGroup
sheetGroupAFormReq d (Just (Arbitrary n)) | n >= 1 =