JeremyBellows/elm-bootstrapify/7.1.0

NOTE: this package is not compatible with Elm 0.19.1

Renamed to rowpsmo1859/elm-bootstrapify. That is where the repository lives now. It has not been published as a package under the new name.

Versions published as JeremyBellows/elm-bootstrapify still install under that name. 1 version of 15 come from the new location (see their notes).

Bootstrap.Forms

Bootstrap functions pertaining to forms

Forms

= FormDefault
| FormHorizontal
| FormInline

Options for Form Alignment

case formAlignmentOption of
  FormDefault -> ""
  FormHorizontal -> "form-horizontal"
  FormInline -> "form-inline"
FormAlignmentOption
-> List (Attribute msg)
-> List (Html msg)
-> Html msg

Generates a form with the supplied alignment

form FormDefault [ onSubmit SomeMsg ]
 [
 ]
formGroup : FormGroupOption -> List (Html msg) -> Html msg

Generates a formGroup html element

form FormDefault [ onSubmit SomeMsg ]
 [
  formGroup FormGroupDefault
    [
    ]
 ]
= FormGroupDefault
| FormGroupSmall
| FormGroupLarge

A set of different Form group options

formLabel : List (Attribute msg) -> List (Html msg) -> Html msg

Generates a formLabel html element

form FormDefault [ onSubmit SomeMsg ]
 [
  formGroup FormGroupDefault
    [
     formLabel [] []
    ]
 ]
formInput : List (Attribute msg) -> List (Html msg) -> Html msg

Generates a formInput html element

form FormDefault [ onSubmit SomeMsg ]
 [
  formGroup FormGroupDefault
    [
     formInput [] []
    ]
 ]
formTextArea : List (Attribute msg) -> List (Html msg) -> Html msg

Generates a form text area html element

form FormDefault [ onSubmit SomeMsg ]
 [
  formGroup FormGroupDefault
    [
     formTextArea [] []
    ]
 ]