Sha256: 8cfa0c44981924472c5e0933cc379308877b82755bfb4a3c93404a143eaaa2fb
Contents?: true
Size: 220 Bytes
Versions: 2
Compression:
Stored size: 220 Bytes
Contents
<% flash.each do |key, value| %> <% unless ['success', 'danger', 'error'].include?(key) key = 'notice' end %> <div class="alert-message alert-message-<%= key %>"> <%= value.html_safe %> </div> <% end %>
Version data entries
2 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
alert_message-1.1.8 | lib/generators/alert_message/templates/_alerts.html.erb |
alert_message-1.1.8 | spec/dummy/app/views/layouts/_alerts.html.erb |