I run my generator with --no-html. Now, I have progressed somewhat with my app but I need a few html pages for my admin dashboard.
I added phoenix_html but having issues like form_for being undefined on my new.html.eex page.
Any ideas what I could include to solve these issues?
Do you have a view? E.g. if your app is named “app”, and your template is for articles, then you should have a file called app_web/views/article_view.ex. Inside that you’d have this:
defmodule AppWeb.ArticleView do
use AppWeb, :view
end