diff --git a/src/BootstrapAdminUi/templates/shared/crud/common/content/form.html.twig b/src/BootstrapAdminUi/templates/shared/crud/common/content/form.html.twig
index dacf3d35..43b2c5a9 100644
--- a/src/BootstrapAdminUi/templates/shared/crud/common/content/form.html.twig
+++ b/src/BootstrapAdminUi/templates/shared/crud/common/content/form.html.twig
@@ -9,19 +9,21 @@
{% if form is not null %}
{% form_theme form '@SyliusBootstrapAdminUi/shared/form_theme.html.twig' %}
-
{% endif %}
diff --git a/src/BootstrapAdminUi/templates/shared/crud/common/content/form_error_alert.html.twig b/src/BootstrapAdminUi/templates/shared/crud/common/content/form_error_alert.html.twig
index 5db1f4ce..9ea60dd5 100644
--- a/src/BootstrapAdminUi/templates/shared/crud/common/content/form_error_alert.html.twig
+++ b/src/BootstrapAdminUi/templates/shared/crud/common/content/form_error_alert.html.twig
@@ -1,8 +1,8 @@
{% set form = hookable_metadata.context.form|default(null) %}
-{% if form is not null and form.vars.valid == false %}
-
-
+{% if form is not null and form.vars.valid is same as(false) %}
+