- flash.each do |key, value|
  - unless %w{hidden ga}.include? key
    .flash{ class: "#{key}" }
      %span= value

- flash.each do |key, value|
  - unless %w{hidden ga}.include? key
    - if key == "alert"
      .error-summary{role: "group", 'aria-labelledby': "error-summary-heading", tabindex:'-1'}
        %h1.heading-medium.error-summary-heading{id: 'error-summary-heading'}
          = value

    - else
      .flash{ class: "#{key}" }
        %span= value

Make sure alert flashes are styled like errors
Make sure alert flashes are styled like errors
