diff --git a/src/Handler/Course.hs b/src/Handler/Course.hs index 14375a6c8..f4c791d49 100644 --- a/src/Handler/Course.hs +++ b/src/Handler/Course.hs @@ -233,7 +233,8 @@ courseToForm cEntity = CourseForm course = entityVal cEntity newCourseForm :: Maybe CourseForm -> Form CourseForm -newCourseForm template = identifyForm "newCourseForm" $ \html -> do +newCourseForm template = -- identifyForm "newCourseForm" $ + \html -> do -- mopt hiddenField -- cidKey <- getsYesod appCryptoIDKey -- courseId <- runMaybeT $ do diff --git a/src/Handler/Utils/Form.hs b/src/Handler/Utils/Form.hs index 3af786f4b..a619da262 100644 --- a/src/Handler/Utils/Form.hs +++ b/src/Handler/Utils/Form.hs @@ -68,12 +68,12 @@ instance Button StandardButton where -- LinkButton route = ??? linkButton :: Widget -> ButtonCssClass -> Route UniWorX -> Widget -linkButton lbl cls url = do - [whamlet| -
- -