mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-16 22:25:30 +08:00
11 lines
511 B
Text
11 lines
511 B
Text
<div id="notifications">
|
||
<% flash.each do |type, message| %>
|
||
<% next unless displayable_flash_type?(type) %>
|
||
|
||
<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>
|
||
<% end %>
|
||
</div>
|