diff --git a/Resources/views/Form/bootstrap.html.twig b/Resources/views/Form/bootstrap.html.twig index ff403d3..75ff539 100644 --- a/Resources/views/Form/bootstrap.html.twig +++ b/Resources/views/Form/bootstrap.html.twig @@ -37,7 +37,7 @@ {% set type = type|default('text') %} {% set attr = attr|merge({ 'class': (attr.class|default('') ~ ' form-control')|trim }) %} - {% if style == 'inline' and (attr.placeholder is not defined or attr.placeholder is empty) %} + {% if style == 'inline' and (attr.placeholder is not defined or attr.placeholder is empty) and label != false %} {% if label is empty %} {% set attr = attr|merge({ 'placeholder': name|humanize }) %} {% else %}