Sha256: 9214ef51407e275420ca48b732dc6e2868ab48c42aba3eba747d7e01ec27e4b4

Contents?: true

Size: 309 Bytes

Versions: 5

Compression:

Stored size: 309 Bytes

Contents

<% flash.each do |name, msg| %>
    <% if msg.is_a?(String) %>
        <div class="alert alert-<%= name == :notice ? "success" : "error" %>">
          <a class="close" data-dismiss="alert">&#215;</a>
          <%= content_tag :div, msg, :id => "flash_#{name}" %>
        </div>
    <% end %>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
i18n_admin_utils-1.1.0 app/views/layouts/i18n_admin_utils/_messages.html.erb
i18n_admin_utils-1.0.0 app/views/layouts/i18n_admin_utils/_messages.html.erb
i18n_admin_utils-0.0.4 app/views/layouts/i18n_admin_utils/_messages.html.erb
i18n_admin_utils-0.0.3 app/views/layouts/i18n_admin_utils/_messages.html.erb
i18n_admin_utils-0.0.2 app/views/layouts/i18n_admin_utils/_messages.html.erb