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.4.1 app/views/_flash_msg.html.erb
blacklight-6.4.0 app/views/_flash_msg.html.erb
blacklight-6.3.3 app/views/_flash_msg.html.erb
blacklight-6.3.1 app/views/_flash_msg.html.erb
blacklight-6.3.0 app/views/_flash_msg.html.erb
blacklight-6.2.0 app/views/_flash_msg.html.erb
blacklight-6.1.0 app/views/_flash_msg.html.erb
blacklight-6.0.2 app/views/_flash_msg.html.erb
blacklight-6.0.1 app/views/_flash_msg.html.erb
blacklight-5.18.0 app/views/_flash_msg.html.erb
blacklight-6.0.0 app/views/_flash_msg.html.erb
blacklight-5.17.2 app/views/_flash_msg.html.erb
blacklight-6.0.0.pre5 app/views/_flash_msg.html.erb
blacklight-5.17.1 app/views/_flash_msg.html.erb
blacklight-5.17.0 app/views/_flash_msg.html.erb
blacklight-6.0.0.pre4 app/views/_flash_msg.html.erb
blacklight-5.16.4 app/views/_flash_msg.html.erb
blacklight-6.0.0.pre3 app/views/_flash_msg.html.erb
blacklight-5.16.3 app/views/_flash_msg.html.erb
blacklight-5.16.2 app/views/_flash_msg.html.erb