scotty-form-0.2.0.0: Html form validation using `ditto`

Safe HaskellNone
LanguageHaskell2010

Web.Scotty.Form

Contents

Documentation

reform Source #

Arguments

:: Monoid view 
=> ([(Text, Text)] -> view -> view)

wrap raw form html inside a form tag

-> Text

form name prefix

-> Form ActionM Text err view a

the formlet

-> ActionM (Result err a, view) 

reformSingle :: ([(Text, Text)] -> view -> view) -> Text -> Form ActionM Text err view a -> ActionM (Result err a, view) Source #

simpleReformGET :: (Show b, Applicative f) => Text -> Form ActionM Text err (HtmlT f ()) b -> ActionM (Result err b, HtmlT f ()) Source #

simpleReformPOST :: (Show b, Applicative f) => Text -> Form ActionM Text err (HtmlT f ()) b -> ActionM (Result err b, HtmlT f ()) Source #

Orphan instances

Environment ActionM Text Source # 
Instance details