| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Text.Digestive.Bootstrap
- 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
Constructors
| FormMeta | |
Fields
| |
data FormElement Source #
Configuration for a form element
Constructors
| FormElement | |
Fields
| |
data FormElementCfg Source #
Form element type
data FormSection Source #
Constructors
| FormSection | |
Fields
| |
data FormComponent Source #
Constructors
| FCSection !FormSection | |
| FCHtmlSection !Html |
HTTP standard method (as defined by RFC 2616, and PATCH which is defined by RFC 5789).
type NumberUnit = Text Source #