yesod-form-1.0.0.3: Form handling support for Yesod Web Framework

Safe HaskellSafe-Infered

Yesod.Form.Input

Documentation

newtype FormInput sub master a Source

Constructors

FormInput 

Fields

unFormInput :: master -> [Text] -> Env -> GHandler sub master (Either DText a)
 

Instances

Functor (FormInput sub master) 
Applicative (FormInput sub master) 

runInputGet :: FormInput sub master a -> GHandler sub master aSource

runInputPost :: FormInput sub master a -> GHandler sub master aSource

ireq :: RenderMessage master FormMessage => Field sub master a -> Text -> FormInput sub master aSource

iopt :: Field sub master a -> Text -> FormInput sub master (Maybe a)Source