aboutsummaryrefslogtreecommitdiff
path: root/lib/waev_web/templates/layout/app.html.eex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/waev_web/templates/layout/app.html.eex')
-rw-r--r--lib/waev_web/templates/layout/app.html.eex6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/waev_web/templates/layout/app.html.eex b/lib/waev_web/templates/layout/app.html.eex
index 72e0142..bd7804e 100644
--- a/lib/waev_web/templates/layout/app.html.eex
+++ b/lib/waev_web/templates/layout/app.html.eex
@@ -17,9 +17,9 @@
</section>
</header> -->
<main role="main" class="container">
- <p class="alert alert-info" role="alert"><%= get_flash(@conn, :info) %></p>
- <p class="alert alert-danger" role="alert"><%= get_flash(@conn, :error) %></p>
- <%= render @view_module, @view_template, assigns %>
+ <p class="alert alert-info" role="alert"><%= Phoenix.Flash.get(@flash, :info) %></p>
+ <p class="alert alert-danger" role="alert"><%= Phoenix.Flash.get(@flash, :error) %></p>
+ <%= @inner_content %>
</main>
<script type="text/javascript" src="<%= Routes.static_path(@conn, "/js/app.js") %>"></script>
</body>