Displaying of flash messages
parent
d2b7e3712c
commit
ffddec20cf
@ -1,4 +1,7 @@
|
|||||||
<!--
|
<%= if message = get_flash(@conn, :info) do %>
|
||||||
<p class="alert alert-info" role="alert"><%= get_flash(@conn, :info) %></p>
|
<section class="flash notice"><div class="container"><%= message %></div></section>
|
||||||
<p class="alert alert-danger" role="alert"><%= get_flash(@conn, :error) %></p>
|
<% end %>
|
||||||
-->
|
|
||||||
|
<%= if message = get_flash(@conn, :error) do %>
|
||||||
|
<section class="flash alert"><div class="container"><%= message %></div></section>
|
||||||
|
<% end %>
|
||||||
|
Loading…
Reference in New Issue