From 6ec02a917f28abd9378f2b15a59b77804562109f Mon Sep 17 00:00:00 2001 From: silky Date: Wed, 23 Dec 2015 16:00:37 +1100 Subject: [PATCH] Add error class when help text is an error. --- yesod-form/Yesod/Form/Bootstrap3.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yesod-form/Yesod/Form/Bootstrap3.hs b/yesod-form/Yesod/Form/Bootstrap3.hs index 8377a68f..a1963c1b 100644 --- a/yesod-form/Yesod/Form/Bootstrap3.hs +++ b/yesod-form/Yesod/Form/Bootstrap3.hs @@ -191,7 +191,7 @@ helpWidget view = [whamlet| $maybe tt <- fvTooltip view #{tt} $maybe err <- fvErrors view - #{err} + #{err} |] @@ -314,4 +314,4 @@ bootstrapSubmitId = "b:ootstrap___unique__:::::::::::::::::submit-id" -- > <$> areq textField nameSettings Nothing -- > where nameSettings = withAutofocus $ -- > withPlaceholder "First name" $ --- > (bfs ("Name" :: Text)) \ No newline at end of file +-- > (bfs ("Name" :: Text))