From ba55a82d1a81600a67457c9d67cbb77f84e44abc Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Wed, 19 Jan 2011 23:03:54 +0200 Subject: [PATCH] ToHtml now in blaze --- Yesod/Form/Core.hs | 1 + Yesod/Form/Profiles.hs | 1 + yesod-form.cabal | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Yesod/Form/Core.hs b/Yesod/Form/Core.hs index 623a5ad7..b779b4a6 100644 --- a/Yesod/Form/Core.hs +++ b/Yesod/Form/Core.hs @@ -49,6 +49,7 @@ import Control.Applicative import Yesod.Request import Control.Monad (liftM) import Text.Hamlet +import Text.Blaze (ToHtml (..)) import Data.String import Control.Monad (join) diff --git a/Yesod/Form/Profiles.hs b/Yesod/Form/Profiles.hs index 2592c6f5..32226e1c 100644 --- a/Yesod/Form/Profiles.hs +++ b/Yesod/Form/Profiles.hs @@ -24,6 +24,7 @@ module Yesod.Form.Profiles import Yesod.Form.Core import Yesod.Widget import Text.Hamlet hiding (renderHtml) +import Text.Blaze (ToHtml (..)) import Text.Cassius import Data.Time (Day, TimeOfDay(..)) import qualified Text.Email.Validate as Email diff --git a/yesod-form.cabal b/yesod-form.cabal index c9da9f2b..9b1beebf 100644 --- a/yesod-form.cabal +++ b/yesod-form.cabal @@ -24,7 +24,7 @@ library , blaze-builder >= 0.2.1 && < 0.3 , network >= 2.2 && < 2.4 , email-validate >= 0.2.6 && < 0.3 - , blaze-html >= 0.3.0.4 && < 0.4 + , blaze-html >= 0.4 && < 0.5 , bytestring >= 0.9 && < 0.10 exposed-modules: Yesod.Form Yesod.Form.Class