diff --git a/lib/backpex/html/form.ex b/lib/backpex/html/form.ex
index dd21ce354..ed61d2fec 100644
--- a/lib/backpex/html/form.ex
+++ b/lib/backpex/html/form.ex
@@ -231,8 +231,7 @@ defmodule Backpex.HTML.Form do
@input_class || "[&_>_input]:input [&_>_input]:w-full",
@errors != [] && (@error_class || "[&_>_input]:input-error [&_>_input]:bg-error/10")
]}>
-
-
+
<.error :for={msg <- @errors} :if={not @hide_errors}>{msg}