diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-12-31 16:34:14 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-12-31 16:34:14 +0200 |
commit | d7a48443ce3dae559726de4d9f5ce358877bfbcd (patch) | |
tree | 8201828bafc9c8267816a37038af72d72288ffb2 /app/views/projects/snippets | |
parent | b563312c2f59c04d535aa798e5cdfa8596f22dee (diff) | |
download | gitlab-ce-d7a48443ce3dae559726de4d9f5ce358877bfbcd.tar.gz |
alert-error to alert-danger
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/projects/snippets')
-rw-r--r-- | app/views/projects/snippets/_form.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/snippets/_form.html.haml b/app/views/projects/snippets/_form.html.haml index b37bee98f3f..4b79cab8656 100644 --- a/app/views/projects/snippets/_form.html.haml +++ b/app/views/projects/snippets/_form.html.haml @@ -4,7 +4,7 @@ .snippet-form-holder = form_for [@project, @snippet], as: :project_snippet, url: url do |f| -if @snippet.errors.any? - .alert.alert-error + .alert.alert-danger %ul - @snippet.errors.full_messages.each do |msg| %li= msg |