Playing with Elixir and Phoenix at the moment, so here is a small snippet.
When you want to render a partial template that sits in a different view module, here's the syntax:
<%= render ApplicationName.ViewModule, viewname, conn: @conn %>
So, for example, if we have the following application structure:
And we want to include the
page on our
, we can do the following somewhere in our
<%= render Myapp.AboutView, "indexhtml", conn: @conn %>