I have a page containing two liveviews, when initializing the view with
{:ok, view, _html} =
live(conn, Routes.some_path(conn, :show, resource),
session: %{
...
}
)
The first view is returned judging by its html id (but with the module
of the second one?). Running render_submit
on it then fails since the second view is actually the form and is the intended target.
How does one get the second view on the page?