Sha256: 9c13b9d3208fd93cb01d164f7fafe3cfcc09245067dce03cf94f73dbc0be438d

Contents?: true

Size: 141 Bytes

Versions: 1

Compression:

Stored size: 141 Bytes

Contents

<% flash.each do |type, msg| %>
  <%= content_tag :div, msg, class: "alert alert-#{ type.to_s == 'alert' ? 'danger' : 'info' }" %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
raddar-0.0.1.pre app/views/layouts/raddar/_alerts.html.erb