Safe Haskell | None |
---|---|
Language | Haskell98 |
Synopsis
- formGenGET :: Applicative m => Text -> [(Text, Text)] -> HtmlT m b -> HtmlT m b
- formGenPOST :: Applicative m => Text -> [(Text, Text)] -> HtmlT m b -> HtmlT m b
- setAttr :: (Monad m, Functor m, Applicative f) => [Attribute] -> Form m input error (HtmlT f ()) a -> Form m input error (HtmlT f ()) a
- errorList :: (Monad m, ToHtml error, Monad f) => Form m input error (HtmlT f ()) ()
- childErrorList :: (Monad m, ToHtml error, Monad f) => Form m input error (HtmlT f ()) ()
- br :: (Monad m, Applicative f) => Form m input error (HtmlT f ()) ()
- fieldset :: (Monad m, Functor m, Applicative f) => Form m input error (HtmlT f ()) a -> Form m input error (HtmlT f ()) a
- ol :: (Monad m, Functor m, Applicative f) => Form m input error (HtmlT f ()) a -> Form m input error (HtmlT f ()) a
- ul :: (Monad m, Functor m, Applicative f) => Form m input error (HtmlT f ()) a -> Form m input error (HtmlT f ()) a
- li :: (Monad m, Functor m, Applicative f) => Form m input error (HtmlT f ()) a -> Form m input error (HtmlT f ()) a
Documentation
:: Applicative m | |
=> Text | action url |
-> [(Text, Text)] | hidden fields to add to form |
-> HtmlT m b | |
-> HtmlT m b |
create <form action=action method="GET" enctype="application/xxx-form-urlencoded">
:: Applicative m | |
=> Text | action url |
-> [(Text, Text)] | hidden fields to add to form |
-> HtmlT m b | |
-> HtmlT m b |
create <form action=action method="POST" enctype="application/xxx-form-urlencoded">
setAttr :: (Monad m, Functor m, Applicative f) => [Attribute] -> Form m input error (HtmlT f ()) a -> Form m input error (HtmlT f ()) a Source #
add an attribute to the Html
for a form element.
fieldset :: (Monad m, Functor m, Applicative f) => Form m input error (HtmlT f ()) a -> Form m input error (HtmlT f ()) a Source #
wrap a <fieldset class="ditto">
around a Form
ol :: (Monad m, Functor m, Applicative f) => Form m input error (HtmlT f ()) a -> Form m input error (HtmlT f ()) a Source #
wrap an <ol class="ditto">
around a Form
ul :: (Monad m, Functor m, Applicative f) => Form m input error (HtmlT f ()) a -> Form m input error (HtmlT f ()) a Source #
wrap a <ul class="ditto">
around a Form
li :: (Monad m, Functor m, Applicative f) => Form m input error (HtmlT f ()) a -> Form m input error (HtmlT f ()) a Source #
wrap a <li class="ditto">
around a Form