formex v0.3.2 Formex.Form
Summary
Functions
Defines the Formex.Form struct
Returns list of Formex.Field.t/0
Adds field to the form. More: Formex.Field.create_field/4
, Formex.Button.create_button/3
Types
Functions
Defines the Formex.Form struct.
:type
- the module that implementsFormex.Type
, for example:App.ArticleType
:struct
- the struct that will be used inEcto.Changeset.cast
, for example:%App.Article{}
:model
-struct.__struct__
, for example:App.Article
:items
- list ofFormex.Field
andFormex.Button
structs:params
- params that will be used inEcto.Changeset.cast
:changeset
-%Ecto.Changeset{}
:phoenix_form
-%Phoenix.HTML.Form{}
:template
- the module that implementsFormex.Template
, for example:Formex.Template.BootstrapHorizontal
. Can be set via aFormex.View.formex_form_for
options
Returns list of Formex.Field.t/0
Adds field to the form. More: Formex.Field.create_field/4
, Formex.Button.create_button/3