Problem/Motivation
Follow-up to #2214241: Field default markup - removing the divitis
Classy's field--node--uid.html.twig template has a mistake, it's referring to a now-removed field_name_class variable.
This results in output like: field--name-
Proposed resolution
Fix it, it will output field--name-uid
Remaining tasks
- Patch
- Review
User interface changes
Potentially some fixes based on this line in /core/modules/node/node.js:
var name = $authorContext.find('.field--name-uid input').val();
API changes
n/a
Data model changes
n/a
Comment | File | Size | Author |
---|---|---|---|
#2 | uid_field_missing_data-2558533-2.patch | 535 bytes | star-szr |
Comments
Comment #2
star-szrI grepped for
field_name_class
and this is the last one.I would tag this with needs tests but I don't think that's a thing for Classy as far as I know. Manual testing may have to suffice, anyone feel free to disagree :)
Comment #3
andypostchecked
Comment #4
alexpottCommitted 62abde4 and pushed to 8.0.x. Thanks!