Adding data attributes for all actions.

The `data_attributes` could be set everywhere, but used only in one spot.
I've now added them everywhere.

This *did* drive home that we really need to refactor it a bit, perhaps render
the actions in just one spot.