Skip to content

Commit

Permalink
Merge pull request #256 from rdohms/patch-4
Browse files Browse the repository at this point in the history
Check for "false" label
  • Loading branch information
Florian Eckerstorfer committed Jun 16, 2014
2 parents 6d8d33d + 92ca23b commit ba52614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/views/Form/bootstrap.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@

{% block button_widget %}
{% spaceless %}
{% if label is empty %}
{% if label is empty and label is not sameas(false) %}
{% set label = name|humanize %}
{% endif %}
{% if type is defined and type == 'submit' %}
Expand Down

0 comments on commit ba52614

Please sign in to comment.