digestive-functors-lucid-0.0.0.5: Lucid frontend for the digestive-functors library

Safe HaskellNone
LanguageHaskell98

Text.Digestive.Lucid.Html5

Synopsis

Documentation

inputText :: Monad m => Text -> View v -> HtmlT m () Source

inputTextArea Source

Arguments

:: Monad m 
=> Maybe Int

Rows

-> Maybe Int

Columns

-> Text

Form path

-> View (HtmlT m ())

View

-> HtmlT m ()

Resulting HTML

inputPassword :: Monad m => Text -> View v -> HtmlT m () Source

inputHidden :: Monad m => Text -> View v -> HtmlT m () Source

inputSelect :: Monad m => Text -> View (HtmlT m ()) -> HtmlT m () Source

inputSelectGroup :: Monad m => Text -> View (HtmlT m ()) -> HtmlT m () Source

Creates a grouped select field using optgroup

inputRadio Source

Arguments

:: Monad m 
=> Bool

Add br tags?

-> Text

Form path

-> View (HtmlT m ())

View

-> HtmlT m ()

Resulting HTML

inputCheckbox :: Monad m => Text -> View (HtmlT m ()) -> HtmlT m () Source

inputFile :: Monad m => Text -> View (HtmlT m ()) -> HtmlT m () Source

inputSubmit :: Monad m => Text -> HtmlT m () Source

inputWithType Source

Arguments

:: Monad m 
=> Text

Type

-> [Attribute]

Additional attributes

-> Text 
-> View v 
-> HtmlT m () 

More generic textual input field to support newer input types like range, date, email, etc.

label :: Monad m => Text -> View v -> HtmlT m () -> HtmlT m () Source

form :: Monad m => View (HtmlT m ()) -> Text -> HtmlT m () -> HtmlT m () Source

errorList :: Monad m => Text -> View (HtmlT m ()) -> HtmlT m () Source

childErrorList :: Monad m => Text -> View (HtmlT m ()) -> HtmlT m () Source

ifSingleton :: Bool -> a -> [a] Source