We currently add a check if and when we encounter a for attribute, value in iteration.
This PR simplifies this a bit.
I've left the (foo|bar) structure to make it explicit what we've added. However, even
in those cases we have not explicitly checked ALL uses of that change.
We currently add a check if and when we encounter a
for attribute, value in
iteration.This PR simplifies this a bit.
I've left the
(foo|bar)
structure to make it explicit what we've added. However, even in those cases we have not explicitly checked ALL uses of that change.This may be good enough until we deprecate this repo - alternatively, we will have to create explicit test cases for each example of this pattern in govuk-frontend: https://github.com/alphagov/govuk-frontend/search?l=HTML%2BDjango&q=for+attribute%2C+value+in
This PR adds one of those specific tests - for summary list actions.