From c0a8e3efb638f3f7df880a968854b33555a29f0f Mon Sep 17 00:00:00 2001 From: Bozhidar Hristov Date: Mon, 27 Aug 2018 22:24:02 +0300 Subject: [PATCH] Fix bootstrap 4 has-error missing. --- Resources/views/bootstrap_4_tab_layout.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/views/bootstrap_4_tab_layout.html.twig b/Resources/views/bootstrap_4_tab_layout.html.twig index 8558274..eb0b447 100644 --- a/Resources/views/bootstrap_4_tab_layout.html.twig +++ b/Resources/views/bootstrap_4_tab_layout.html.twig @@ -39,7 +39,7 @@ role="tab" href="#{{ id ~ "_language_" ~ key }}" aria-selected="{% if active %}true{% else %}false{% endif %}" - class="nav-link {% if not child.vars.valid %}has-error{% endif %} {% if active %}active{% endif %}" + class="nav-link {% if not child.vars.valid %}alert alert-danger{% endif %} {% if active %}active{% endif %}" > {{ form_label(child) }}