Copy
app/views/layouts/_message.html.slim
1
2
3
4
5
- flash.each do |name, msg|
- if msg.is_a?(String)
div data-alert='' class="alert-box round #{name.to_s == 'notice' ? 'success' : 'alert'}"
= content_tag :div, msg
a href='#' class='close' ×
Updated by Yuto at 2023-05-09 21:05