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-5.9.2 app/views/_flash_msg.html.erb
blacklight-5.9.1 app/views/_flash_msg.html.erb
blacklight-5.9.0 app/views/_flash_msg.html.erb
blacklight-5.8.2 app/views/_flash_msg.html.erb
blacklight-5.8.1 app/views/_flash_msg.html.erb
blacklight-5.8.0 app/views/_flash_msg.html.erb
blacklight-5.7.2 app/views/_flash_msg.html.erb
blacklight-5.5.4 app/views/_flash_msg.html.erb
blacklight-5.7.1 app/views/_flash_msg.html.erb
blacklight-5.7.0 app/views/_flash_msg.html.erb
blacklight-5.6.0 app/views/_flash_msg.html.erb
blacklight-5.5.3 app/views/_flash_msg.html.erb
blacklight-5.5.2 app/views/_flash_msg.html.erb
blacklight-5.5.1 app/views/_flash_msg.html.erb
blacklight-5.5.0 app/views/_flash_msg.html.erb
blacklight-5.4.0 app/views/_flash_msg.html.erb
blacklight-5.4.0.rc1 app/views/_flash_msg.html.erb
blacklight-5.3.0 app/views/_flash_msg.html.erb
blacklight-5.0.3 app/views/_flash_msg.html.erb
blacklight-5.1.1 app/views/_flash_msg.html.erb