lib/smklib/htmlutils.rb in smklib-1.1.0 vs lib/smklib/htmlutils.rb in smklib-1.1.1
- old
+ new
@@ -288,9 +288,10 @@
end
end
def display_errors
return '' if flash.class == String # flash got broken by render_component.
+ flash = flash.to_h.symbolize_keys
s = ""
css = "
<style>
.flash { text-align: left; padding: 5px 25px; border: 4px solid blue; margin: 0px auto 20px; display: table; }
.flash img { margin-right: 15px; }