Replace raw HTML form with Phoenix .link helper using method="delete" to properly handle CSRF token in LiveView context. This fixes the UndefinedFunctionError when accessing /admin route. |
||
|---|---|---|
| .. | ||
| layouts | ||
| core_components.ex | ||
| layouts.ex | ||
Replace raw HTML form with Phoenix .link helper using method="delete" to properly handle CSRF token in LiveView context. This fixes the UndefinedFunctionError when accessing /admin route. |
||
|---|---|---|
| .. | ||
| layouts | ||
| core_components.ex | ||
| layouts.ex | ||