app/components/coco/app/elements/alert/alert.html.erb in coveragebook_components-0.8.0.beta.3 vs app/components/coco/app/elements/alert/alert.html.erb in coveragebook_components-0.8.0
- old
+ new
@@ -18,10 +18,10 @@
<% if title? %>
<h4 class="alert-title"><%= title %></h4>
<% end %>
<p class="alert-message"<% if single_line? %> x-dimensions="checkSingleLineWrap(dimensions)"<% end %>>
- <%= content %>
+ <%= message? ? message : content %>
</p>
<% if link? %>
<div class="alert-link" data-role="link">
<%= helpers.coco_link(
\ No newline at end of file