Sha256: 3ff15d455192fe4f134d348db7d3b4489095ac18d0e3443c417abcdebc0498f0

Contents?: true

Size: 606 Bytes

Versions: 73

Compression:

Stored size: 606 Bytes

Contents

<% unless flash.blank? %>
  <div class="container flash-message">
    <div class="row">
      <div class="col-md-12">
        <% [[:notice, 'alert-success'],[:error, 'alert-danger'],[:alert, 'alert-info']].each do |type, flash_dom_class| %>
          <% if flash[type] %>
            <div class="alert <%= flash_dom_class %> ui-corner-all <%= type.to_s %>">
              <a class="close" data-dismiss="alert" href="#">×</a>
              <%= sanitize(flash[type]) %>
            </div>
            <% flash.delete(type) %>
          <% end %>
        <% end %>
      </div>
    </div>
  </div>
<% end %>

Version data entries

73 entries across 73 versions & 2 rubygems

Version Path
curation_concerns-1.3.2 app/views/shared/_flash_message.html.erb
curation_concerns-1.3.1 app/views/shared/_flash_message.html.erb
curation_concerns-1.3.0 app/views/shared/_flash_message.html.erb
curation_concerns-1.2.0 app/views/shared/_flash_message.html.erb
curation_concerns-1.1.2 app/views/shared/_flash_message.html.erb
curation_concerns-1.1.1 app/views/shared/_flash_message.html.erb
curation_concerns-1.1.0 app/views/shared/_flash_message.html.erb
curation_concerns-1.0.0 app/views/shared/_flash_message.html.erb
curation_concerns-1.0.0.beta10 app/views/shared/_flash_message.html.erb
curation_concerns-1.0.0.beta9 app/views/shared/_flash_message.html.erb
curation_concerns-1.0.0.beta8 app/views/shared/_flash_message.html.erb
curation_concerns-1.0.0.beta7 app/views/shared/_flash_message.html.erb
curation_concerns-1.0.0.beta6 app/views/shared/_flash_message.html.erb
curation_concerns-1.0.0.beta5 app/views/shared/_flash_message.html.erb
curation_concerns-1.0.0.beta4 app/views/shared/_flash_message.html.erb
curation_concerns-1.0.0.beta3 app/views/shared/_flash_message.html.erb
curation_concerns-1.0.0.beta2 app/views/shared/_flash_message.html.erb
curation_concerns-1.0.0.beta1 app/views/shared/_flash_message.html.erb
curation_concerns-0.14.0 app/views/shared/_flash_message.html.erb
curation_concerns-0.14.0.pre4 app/views/shared/_flash_message.html.erb