The form template iterated over changeset error tuples directly (e.g. changeset.errors[:name] returns a tuple, not a list), causing Protocol.UndefinedError for Enumerable on Tuple. Rewrote form to use to_form/2 and <.input> components per LiveView conventions. Errors are now handled properly by the input component. |
||
|---|---|---|
| .. | ||
| form.ex | ||
| form.html.heex | ||
| index.ex | ||
| index.html.heex | ||
| show.ex | ||
| show.html.heex | ||