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.16.1 app/views/_flash_msg.html.erb
blacklight-6.0.0.pre2 app/views/_flash_msg.html.erb
blacklight-6.0.0.pre1 app/views/_flash_msg.html.erb
blacklight-5.16.0 app/views/_flash_msg.html.erb
blacklight-5.15.0 app/views/_flash_msg.html.erb
blacklight-5.14.0 app/views/_flash_msg.html.erb
blacklight-5.13.1 app/views/_flash_msg.html.erb
blacklight-5.13.0 app/views/_flash_msg.html.erb
blacklight-5.11.3 app/views/_flash_msg.html.erb
blacklight-5.12.1 app/views/_flash_msg.html.erb
blacklight-5.12.0 app/views/_flash_msg.html.erb
blacklight-5.10.3 app/views/_flash_msg.html.erb
blacklight-5.9.4 app/views/_flash_msg.html.erb
blacklight-5.11.2 app/views/_flash_msg.html.erb
blacklight-5.11.1 app/views/_flash_msg.html.erb
blacklight-5.11.0 app/views/_flash_msg.html.erb
blacklight-5.10.2 app/views/_flash_msg.html.erb
blacklight-5.10.1 app/views/_flash_msg.html.erb
blacklight-5.10.0 app/views/_flash_msg.html.erb
blacklight-5.9.3 app/views/_flash_msg.html.erb