Add class_attr to HTML of more fields.

- While it seems useless to add classes to fields like a hidden field,
  it is actually helpful in finding that row via JS if we were doing
  some advanced things within groups (where IDs can't be used).