Comments

profile/avatar/default
Alex

If I use your code for the html file I get this error: protocol Phoenix.HTML.FormData not implemented for {:error, #Ecto.Changeset, valid?: false>}. This protocol is implemented for: Ecto.Changeset, Plug.Conn

profile/avatar/default
Alex

if I put @conn instead of @user_changeset it works. Do you have any explanation for it?

Tristan Edwards

@alexmulo I think it might be related to this Elixir bug: https://github.com/elixir-lang/elixir/issues/5987. Forcing your project to recompile will probably make the error go away!

profile/avatar/default
Andreas

I had to do here alias Messengyr.Accounts.Accounts due to the modified folder structure