summaryrefslogtreecommitdiff
path: root/app/views/projects/pages_domains/_form.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/pages_domains/_form.html.haml')
-rw-r--r--app/views/projects/pages_domains/_form.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/pages_domains/_form.html.haml b/app/views/projects/pages_domains/_form.html.haml
index 9d9603b0947..bca955dcdae 100644
--- a/app/views/projects/pages_domains/_form.html.haml
+++ b/app/views/projects/pages_domains/_form.html.haml
@@ -1,6 +1,6 @@
- if domain_presenter.errors.any?
= render Pajamas::AlertComponent.new(variant: :danger, dismissible: false) do |c|
- = c.body do
+ - c.with_body do
- domain_presenter.errors.full_messages.each do |msg|
= msg