Skip to content

Commit

Permalink
Fix bootstrap 4 has-error missing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Warxcell committed Aug 27, 2018
1 parent c293c62 commit c0a8e3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/views/bootstrap_4_tab_layout.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -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) }}
</a>
Expand Down

0 comments on commit c0a8e3e

Please sign in to comment.