Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data FormMeta = FormMeta {}
- data FormElement = FormElement {
- fe_name :: !Text
- fe_label :: !(Maybe Text)
- fe_placeholder :: !(Maybe Text)
- fe_cfg :: !FormElementCfg
- data FormElementCfg
- data FormSection = FormSection {
- fs_title :: !(Maybe Text)
- fs_help :: !(Maybe Text)
- fs_elements :: ![FormElement]
- data FormComponent
- data StdMethod :: *
- type NumberUnit = Text
- renderForm :: FormMeta -> View Html -> Html
Documentation
Meta information for a HTML form
FormMeta | |
|
data FormElement Source #
Configuration for a form element
FormElement | |
|
data FormElementCfg Source #
Form element type
data FormSection Source #
FormSection | |
|
HTTP standard method (as defined by RFC 2616, and PATCH which is defined by RFC 5789).
type NumberUnit = Text Source #