formlets-0.4.7: Formlets implemented in Haskell

Text.XHtml.Strict.Formlets

Synopsis

Documentation

input :: Monad m => Maybe String -> XHtmlForm m StringSource

An input field with an optional value

password :: Monad m => Maybe String -> XHtmlForm m StringSource

A password field with an optional value

hidden :: Monad m => Maybe String -> XHtmlForm m StringSource

A hidden input field

inputInteger :: Monad m => Maybe Integer -> XHtmlForm m IntegerSource

A validated integer component

radio :: Monad m => [(String, String)] -> Maybe String -> XHtmlForm m StringSource

A radio choice

enumRadio :: (Monad m, Enum a) => [(a, String)] -> Maybe a -> XHtmlForm m aSource

An radio choice for Enums

select :: (Eq a, Monad m) => [(a, String)] -> Maybe a -> XHtmlForm m aSource

A drop-down for anything that is an instance of Eq

type XHtmlForm m a = Form Html m aSource