Crown-Commercial-Service / govuk-frontend-jinja

Tools to use the GOV.UK Design System with Python webapps that use Jinja2 and Flask 🐍
MIT License
9 stars 6 forks source link

Add items() to item.attributes #56

Closed domoscargin closed 4 years ago

domoscargin commented 4 years ago

govukCheckboxes includes a for attribute, value in item.attributes iteration which fails.

This can be fixed by using .items() instead of the Python default .keys()