Skip to content

Commit

Permalink
Fix missing space in label_attr
Browse files Browse the repository at this point in the history
``label_attr`` in ``checkbox_radio_label`` is missing a space with ``parent_label_class``
  • Loading branch information
garak committed Dec 9, 2014
1 parent 0a09eaf commit 90b3f3b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -160,7 +160,7 @@
{% set label_attr = label_attr|merge({class: (label_attr.class|default('') ~ ' required')|trim}) %}
{% endif %}
{% if parent_label_class is defined %}
{% set label_attr = label_attr|merge({class: (label_attr.class|default('') ~ parent_label_class)|trim}) %}
{% set label_attr = label_attr|merge({class: (label_attr.class|default('') ~ ' ' ~ parent_label_class)|trim}) %}
{% endif %}
{% if label is empty %}
{% set label = name|humanize %}
Expand Down

0 comments on commit 90b3f3b

Please sign in to comment.