funkybob / django-sniplates

Template snippet libraries for Django
MIT License
57 stars 18 forks source link

In the example _label widget do not set an 'id' attribute for the label element. #61

Closed flupzor closed 6 years ago

flupzor commented 6 years ago

Because the 'id' attribute was set for the label, the input element, and the label use the same id. The new behavior is consistent with how BoundField.label_tag works in Django.

Also see:

funkybob commented 6 years ago

Thanks for that!