mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
5 lines
No EOL
226 B
Text
5 lines
No EOL
226 B
Text
- flash.each do |name, msg|
|
||
- if msg.is_a?(String)
|
||
%div{:class => "alert alert-#{name == :notice ? "success" : "error"}"}
|
||
%a.close{"data-dismiss" => "alert"} ×
|
||
= content_tag :div, msg, :id => "flash_#{name}" |