Skip to content

Commit

Permalink
Merge pull request #3574 from peteward/pw-fix-form-theme-empty-labels
Browse files Browse the repository at this point in the history
[WebBundle] Form theming fix for when no label is explicitly specified
  • Loading branch information
Paweł Jędrzejewski committed Nov 18, 2015
2 parents c35848c + a624ff4 commit 7ee80f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
{% spaceless %}
<div class="form-group{% if errors|length > 0 %} has-error{% endif %}">
{{ form_label(form) }}
<div {% if label %}class="col-lg-10"{% endif %}>
<div {% if label is not same as(false) %}class="col-lg-10"{% endif %}>
{{ form_widget(form) }}
{% for error in errors %}
<span class="help-block form-error">
Expand Down

0 comments on commit 7ee80f8

Please sign in to comment.