Bootform
Installation
If available in Hex, the package can be installed as:
-
Add
bootformto your list of dependencies inmix.exs:
```elixir
def deps do
[{:bootform, "~> 0.1.0"}]
end
```-
Ensure
bootformis started before your application:
```elixir
def application do
[applications: [:bootform]]
end
```%Phoenix.HTML.Form{
data: %Blogmvc.Comment{
__meta__: #Ecto.Schema.Metadata<:built, "comments">,
content: nil,
created: nil,
id: nil,
mail: nil,
post: #Ecto.Association.NotLoaded<association :post is not loaded>,
post_id: nil,
username: "John doe"
},
errors: [],
hidden: [],
id: "comment",
impl: Phoenix.HTML.FormData.Ecto.Changeset,
index: nil, name: "comment",
options: [method: "post"],
params: %{},
source: #Ecto.Changeset<
action: nil,
changes: %{},
errors: [mail: {"can't be blank", []}, content: {"can't be blank", []}],
data: #Blogmvc.Comment<>, valid?: false
>
}