Agile Web Development with Rails 7: (solved)

Title: AWDWR Rails 7 b1 0 pdf:
At the top of page 179 the first bullet point has, I believe, a mistake

First we wrap all of the elements that are to be controlled by the payment
Stimulus controller with an element with a data-controller field naming the
controller.

removing the words “with an element” I think would be better so it reads

First we wrap all of the elements that are to be controlled by the payment
Stimulus controller with a data-controller field naming the
controller.

I agree that with…with is awkward, but I would prefer:

with a div element containing a data-controller attribute naming the controller.

Much better Sam, It’s good to see you still working on the book, it’s been a very long time since we last spoke, keep up the superb work