Skip to content

Commit cd37eb9

Browse files
authored
Bugfix for class attribute without a value
1 parent 31375d6 commit cd37eb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

foundation_formtags/templates/foundation_formtags/foundation_form_field.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
{% endif %}
1616

1717
{% if field.label %}
18-
<label for="{{ field.auto_id }}" class={% if field.errors %}"is-invalid-label"{% endif %}>
18+
<label for="{{ field.auto_id }}"{% if field.errors %} class="is-invalid-label"{% endif %}>
1919
{{ field.label|safe }}
2020
{% if not field.field.required and use_optional %}
2121
<span class="optional">(optional)</span>

0 commit comments

Comments
 (0)