Skip to content

Commit

Permalink
Mention phoenix_ecto in FormData protocol docs (#423)
Browse files Browse the repository at this point in the history
  • Loading branch information
LostKobrakai authored Jun 4, 2023
1 parent b668683 commit 102fa95
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/phoenix_html/form_data.ex
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
defprotocol Phoenix.HTML.FormData do
@moduledoc """
Converts a data structure into a [`Phoenix.HTML.Form`](`t:Phoenix.HTML.Form.t/0`) struct.
## Ecto integration
Phoenix provides integration of forms with Ecto changesets and data
structures via the [phoenix_ecto](https://hex.pm/packages/phoenix_ecto) package.
If a project was generated without Ecto support that dependency will need to be
manually added.
"""

@doc """
Expand Down

0 comments on commit 102fa95

Please sign in to comment.