diff --git a/guides/client/form-bindings.md b/guides/client/form-bindings.md index eab328faa..e5f157341 100644 --- a/guides/client/form-bindings.md +++ b/guides/client/form-bindings.md @@ -46,7 +46,7 @@ callbacks, to validate and attempt to save the parameter accordingly: def render(assigns) ... def mount(_params, _session, socket) do - {:ok, assign(socket, form: to_form(Accounts.change_user(%User{}))} + {:ok, assign(socket, form: to_form(Accounts.change_user(%User{})))} end def handle_event("validate", %{"user" => params}, socket) do