diff --git a/web/templates/layout/flash.html.eex b/web/templates/layout/flash.html.eex index 8c39410..5785013 100644 --- a/web/templates/layout/flash.html.eex +++ b/web/templates/layout/flash.html.eex @@ -1,4 +1,7 @@ - +<%= if message = get_flash(@conn, :info) do %> +
<%= message %>
+<% end %> + +<%= if message = get_flash(@conn, :error) do %> +
<%= message %>
+<% end %>