- flash.each do |name, msg|
  - if flash[name]
    .row class="flash-#{name}"
      .alert-box.info.round data={alert: nil}
        = msg
        a href="#" class='close' &times;

.flash-message
  - flash.each do |name, msg|
    - if flash[name]
      - if name == "notice"
        .row class=name
          .alert-box.success.round data={alert: nil}
            = msg
            a href="#" class='close' &times;
      - elsif name == "error" || "alert"
        .row class=name
          .alert-box.alert.round data={alert: nil}
            = msg
            a href="#" class='close' &times;
      - else
        .row class=name
          .alert-box.info.round data={alert: nil}
            = msg
            a href="#" class='close' &times;
Set style for flash messages, green - success notice, red - alert/error, other original light blue.
Set style for flash messages, green - success notice, red - alert/error, other original light blue.

airslie/renalware-core,airslie/renalware-core,airslie/renalware-core,airslie/renalware-core