Display Changeset Errors

Learn how to display changeset errors.

Our form is working well, but something is missing. If the user submits invalid data, the call to Repo.insert will fail. We currently have no way of showing the user how to fix the problem, though. The changeset contains the validation ...