Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_flash.html.haml « layouts « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 05ddd0ec733c6be3e7acbabb75ce33870267c0b4 (plain)
1
2
3
4
5
6
7
8
.flash-container.flash-container-page
  -# We currently only support `alert`, `notice`, `success`
  - flash.each do |key, value|
    -# Don't show a flash message if the message is nil
    - if value
      %div{ class: "flash-#{key}" }
        %div{ class: (container_class) }
          %span= value