Sha256: 5a40f44ed64c1bc82c92167f103fba59c32accd1a4b3c9c38d34ac7d84ab9fa9

Contents?: true

Size: 589 Bytes

Versions: 8

Compression:

Stored size: 589 Bytes

Contents

<% if flash.present? %>
  <div class='flash text-center'>
    <% flash.each do |key, msg| %>
      <div class='alert alert-<%=key%> 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

8 entries across 8 versions & 1 rubygems

Version Path
rocketjob_mission_control-6.0.0.beta app/views/layouts/rocket_job_mission_control/partials/_flash.html.erb
rocketjob_mission_control-5.0.1 app/views/layouts/rocket_job_mission_control/partials/_flash.html.erb
rocketjob_mission_control-5.0.0 app/views/layouts/rocket_job_mission_control/partials/_flash.html.erb
rocketjob_mission_control-5.0.0.beta1 app/views/layouts/rocket_job_mission_control/partials/_flash.html.erb
rocketjob_mission_control-4.3.0 app/views/layouts/rocket_job_mission_control/partials/_flash.html.erb
rocketjob_mission_control-4.2.1 app/views/layouts/rocket_job_mission_control/partials/_flash.html.erb
rocketjob_mission_control-4.2.0 app/views/layouts/rocket_job_mission_control/partials/_flash.html.erb
rocketjob_mission_control-4.1.0 app/views/layouts/rocket_job_mission_control/partials/_flash.html.erb