Skip to content

Commit

Permalink
Update form-bindings.md
Browse files Browse the repository at this point in the history
Closes #2773.
  • Loading branch information
josevalim authored Aug 16, 2023
1 parent 2d08b92 commit 2aa7792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/client/form-bindings.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ defined in your own application, often encapsulating labelling,
error handling, and more. Here is a simple version to get started with:

attr :field, Phoenix.HTML.FormField
attr :rest, include: ~w(type)
attr :rest, :global, include: ~w(type)
def input(assigns) do
~H"""
<input id={@field.id} name={@field.name} value={@field.value} {@rest} />
Expand Down

0 comments on commit 2aa7792

Please sign in to comment.