app/components/coco/app/elements/alert/alert.html.erb in coveragebook_components-0.8.0.beta.1 vs app/components/coco/app/elements/alert/alert.html.erb in coveragebook_components-0.8.0.beta.2
- old
+ new
@@ -3,9 +3,10 @@
bind: "root",
show: "!dismissed",
cloak: (true if cloak?)
}, class: {
"with-title": title?,
+ "with-action": action? || secondary_action?,
"vivid": vivid?
}) do %>
<div class="alert-container">
<div class="alert-icon" data-role="icon">
<%= icon %>
\ No newline at end of file