diff options
author | Guillermo Ramos | 2023-11-04 11:52:01 +0100 |
---|---|---|
committer | Guillermo Ramos | 2023-11-04 11:52:01 +0100 |
commit | 13e34af4b700127507298a489f25ad8c2fae6a42 (patch) | |
tree | a5a02bc6939a3dd41ea9b1c0b833534ab994b88d /lib/waev_web | |
parent | a7f60df110052d2d84da2a375fe5dc2cf672066d (diff) | |
download | waev-13e34af4b700127507298a489f25ad8c2fae6a42.tar.gz |
ITV pasada
Diffstat (limited to 'lib/waev_web')
-rw-r--r-- | lib/waev_web/templates/layout/app.html.eex | 6 |
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> |