Sha256: 597f4647b1ddab3e66054a31a366696f51e7cd07a71c52cba787724bd1dca73f

Contents?: true

Size: 586 Bytes

Versions: 3

Compression:

Stored size: 586 Bytes

Contents

<% if flash.present? %>
  <div class='flash text-center'>
    <% flash.each do |key, msg| %>
      <div class='alert alert-alert alert-dismissable' role='alert'>
        <button class='close' data-dismiss='alert'>
          <span>&times;</span>
        </button>

        <% if msg.kind_of? Array %>
          <ul class='list-unstyled margin-bottom-0'>
            <% msg.each do |m| %>
              <li><%= m.html_safe %></li>
            <% end %>
          </ul>
        <% else %>
          <%= msg.to_s.html_safe %>
        <% end %>
      </div>
    <% end %>
  </div>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rocketjob_mission_control-4.0.0 app/views/layouts/rocket_job_mission_control/partials/_flash.html.erb
rocketjob_mission_control-3.2.0 app/views/layouts/rocket_job_mission_control/partials/_flash.html.erb
rocketjob_mission_control-3.1.0 app/views/layouts/rocket_job_mission_control/partials/_flash.html.erb