Sha256: 555ad22e7af0cbf74079e21ff9a16f433c766b1d006a2121120a27964aeb4e97

Contents?: true

Size: 232 Bytes

Versions: 3

Compression:

Stored size: 232 Bytes

Contents

<% flash.each do |key, value| %>
	<%
		if key != 'success' && key != 'danger' && key != 'notice'
			key = 'danger'
		end
	%>
    <div class="alert-message alert-message-<%= key %>">
      <%= value.html_safe %>
    </div>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
alert_message-1.1.6 lib/generators/alert_message/templates/_alerts.html.erb
alert_message-1.1.5.1 lib/generators/alert_message/templates/_alerts.html.erb
alert_message-1.1.5 lib/generators/alert_message/templates/_alerts.html.erb