formex v0.1.4 Formex.Form
Summary
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
:fields
- list ofFormex.Field
structs:params
- params that will be used inEcto.Changeset.cast
:changeset
-%Ecto.Changeset{}
:phoenix_form
-%Phoenix.HTML.Form{}
Adds field to form. More: Formex.Field.create_field/4