summaryrefslogtreecommitdiff
path: root/app/views/profiles/notifications/show.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/profiles/notifications/show.html.haml')
-rw-r--r--app/views/profiles/notifications/show.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/profiles/notifications/show.html.haml b/app/views/profiles/notifications/show.html.haml
index 5d74bbe9971..26c9b2f0ee1 100644
--- a/app/views/profiles/notifications/show.html.haml
+++ b/app/views/profiles/notifications/show.html.haml
@@ -3,8 +3,8 @@
%div
- if @user.errors.any?
- = render Pajamas::AlertComponent.new(variant: :danger) do
- .gl-alert-body
+ = render Pajamas::AlertComponent.new(variant: :danger) do |c|
+ = c.body do
%ul
- @user.errors.full_messages.each do |msg|
%li= msg