reform-blaze 0.1.2 → 0.2.0
raw patch · 2 files changed
+4/−3 lines, 2 filesdep ~reformPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: reform
API changes (from Hackage documentation)
- Text.Reform.Blaze.Common: form :: ToValue action => action -> [(String, String)] -> Html -> Html
+ Text.Reform.Blaze.Common: form :: ToValue action => action -> [(Text, Text)] -> Html -> Html
- Text.Reform.Blaze.String: form :: ToValue action => action -> [(String, String)] -> Html -> Html
+ Text.Reform.Blaze.String: form :: ToValue action => action -> [(Text, Text)] -> Html -> Html
- Text.Reform.Blaze.Text: form :: ToValue action => action -> [(String, String)] -> Html -> Html
+ Text.Reform.Blaze.Text: form :: ToValue action => action -> [(Text, Text)] -> Html -> Html
Files
- Text/Reform/Blaze/Common.hs +2/−1
- reform-blaze.cabal +2/−2
Text/Reform/Blaze/Common.hs view
@@ -2,6 +2,7 @@ module Text.Reform.Blaze.Common where import Data.Monoid (mconcat, mempty, (<>))+import Data.Text.Lazy (Text) import Text.Reform.Backend import Text.Reform.Core import Text.Reform.Generalized as G@@ -315,7 +316,7 @@ -- | create @\<form action=action method=\"POST\" enctype=\"multipart/form-data\"\>@ form :: (H.ToValue action) => action -- ^ action url- -> [(String, String)] -- ^ hidden fields to add to form+ -> [(Text, Text)] -- ^ hidden fields to add to form -> Html -- ^ children -> Html form action hidden children =
reform-blaze.cabal view
@@ -1,5 +1,5 @@ Name: reform-blaze-Version: 0.1.2+Version: 0.2.0 Synopsis: Add support for using blaze-html with Reform Description: Reform is a library for building and validating forms using applicative functors. This package add support for using reform with blaze-html. Homepage: http://www.happstack.com/@@ -25,5 +25,5 @@ Build-depends: base >4 && <5, blaze-markup == 0.5.*, blaze-html >= 0.5 && < 0.7,- reform == 0.1.*,+ reform == 0.2.*, text == 0.11.*