Formex v0.6.6 Formex.Template.BootstrapVertical
The Bootstrap 3 basic template.
Summary
Functions
Callback implementation for Formex.Template.generate_input/2
Callback implementation for Formex.Template.generate_label/3
Generates a HTML for a field
Functions
generate_input(form, field)
generate_input(_form :: Formex.Form.t, button :: Formex.Button.t) :: Phoenix.HTML.safe
generate_input(form :: Formex.Form.t, field :: Formex.Field.t) :: Phoenix.HTML.safe
Callback implementation for Formex.Template.generate_input/2
.
generate_label(form, field, class \\ "")
generate_label(form :: Formex.Form.t, field :: Formex.Field.t, class :: String.t) :: Phoenix.HTML.safe
Callback implementation for Formex.Template.generate_label/3
.
Generates a HTML for a field.
Arguments
options
- any options that you want to use inside a form template. It can be set by:template_options
inside aFormex.View
functions, or in the:formex
config. For example,Formex.Template.BootstrapHorizontal
uses options that stores columns sizes.
Callback implementation for Formex.Template.generate_row/3
.