Sha256: a6f314b438d47ac675b747f0fbbc76d701eb7c749373bd29c6dd8a280b2dc630

Contents?: true

Size: 526 Bytes

Versions: 109

Compression:

Stored size: 526 Bytes

Contents

<div class="flash_messages">
  <% [:success, :notice, :error, :alert].each do |type| %>
    <%- alert_class = case type
      when :success then "alert-success"
      when :notice  then "alert-info"
      when :alert   then "alert-warning"
      when :error   then "alert-danger"
      else "alert-#{type}"
      end
    -%>
    <% if flash[type] %>
      <div class="alert <%=alert_class %>"><%= flash[type] %>
         <a class="close" data-dismiss="alert" href="#">&times;</a>
      </div>
    <% end %>
  <% end %>
</div>

Version data entries

109 entries across 109 versions & 1 rubygems

Version Path
blacklight-6.25.0 app/views/_flash_msg.html.erb
blacklight-6.24.0 app/views/_flash_msg.html.erb
blacklight-6.23.0 app/views/_flash_msg.html.erb
blacklight-6.22.0 app/views/_flash_msg.html.erb
blacklight-6.21.0 app/views/_flash_msg.html.erb
blacklight-6.20.0 app/views/_flash_msg.html.erb
blacklight-7.0.1 app/views/shared/_flash_msg.html.erb
blacklight-6.19.2 app/views/_flash_msg.html.erb
blacklight-7.0.0 app/views/shared/_flash_msg.html.erb
blacklight-6.19.1 app/views/_flash_msg.html.erb
blacklight-6.19.0 app/views/_flash_msg.html.erb
blacklight-7.0.0.rc2 app/views/shared/_flash_msg.html.erb
blacklight-6.18.0 app/views/_flash_msg.html.erb
blacklight-6.17.0 app/views/_flash_msg.html.erb
blacklight-6.16.0 app/views/_flash_msg.html.erb
blacklight-6.15.0 app/views/_flash_msg.html.erb
blacklight-7.0.0.rc1 app/views/shared/_flash_msg.html.erb
blacklight-6.14.1 app/views/_flash_msg.html.erb
blacklight-6.14.0 app/views/_flash_msg.html.erb
blacklight-6.13.0 app/views/_flash_msg.html.erb