Merge pull request #1129 from silky/master

Add error class when help text is an error.
This commit is contained in:
Greg Weber 2015-12-28 20:18:43 -08:00
commit 5dff4adf86

View File

@ -191,7 +191,7 @@ helpWidget view = [whamlet|
$maybe tt <- fvTooltip view
<span .help-block>#{tt}
$maybe err <- fvErrors view
<span .help-block>#{err}
<span .help-block .error-block>#{err}
|]
@ -314,4 +314,4 @@ bootstrapSubmitId = "b:ootstrap___unique__:::::::::::::::::submit-id"
-- > <$> areq textField nameSettings Nothing
-- > where nameSettings = withAutofocus $
-- > withPlaceholder "First name" $
-- > (bfs ("Name" :: Text))
-- > (bfs ("Name" :: Text))