2024-07-16 20:22:59 +02:00
|
|
|
<% if flash[:alert] || flash[:notice] %>
|
2024-10-26 02:32:44 +02:00
|
|
|
<% if flash[:alert] %>
|
|
|
|
|
<div class="alert alert-danger" role="alert">
|
|
|
|
|
<%= flash[:alert] %><% flash.delete(:alert) %>
|
|
|
|
|
</div>
|
|
|
|
|
<% end %>
|
2024-07-16 20:22:59 +02:00
|
|
|
|
2024-10-26 02:32:44 +02:00
|
|
|
<% if flash[:notice] %>
|
|
|
|
|
<div class="alert alert-info" role="alert">
|
|
|
|
|
<%= flash[:notice] %>
|
|
|
|
|
<% flash.delete(:notice) %>
|
|
|
|
|
</div>
|
|
|
|
|
<% end %>
|
2024-07-16 20:22:59 +02:00
|
|
|
<% end %>
|