2018-04-25 07:32:49 +02:00
|
|
|
|
<div id="notifications">
|
2021-01-04 15:11:24 +01:00
|
|
|
|
<% flash.each do |type, message| %>
|
2021-01-12 15:26:45 +01:00
|
|
|
|
<% next unless displayable_flash_type?(type) %>
|
|
|
|
|
|
2021-01-04 15:11:24 +01:00
|
|
|
|
<div id="alert-flash" class="alert <%= flash_alert_class(type) %> alert-dismissable alert-floating">
|
|
|
|
|
<span class="fas <%= flash_icon_class(type) %>"></span>
|
|
|
|
|
<span class="message"><%= sanitize_input(message) %></span>
|
|
|
|
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
|
|
|
|
|
</div>
|
2018-04-25 07:32:49 +02:00
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|