I have no idea if this would be committed at this point in D7's life-cycle, or if it's even a good idea in general... ;) However, I was just working on a form table UI, and I wanted the table headers for required fields in the table to be marked as required fields, even though the elements in the table rows don't have form labels. So, I just had to copy and paste the code from out of core's theme_form_element(). Seems like it'd be nice if this little bit was its own theme function so that it could be reliably reused by other customers. Stay tuned for a patch.
|PASSED: [[SimpleTest]]: [MySQL] 25,304 pass(es).|
|Unable to apply patch 582584-20.theme_form_required_marker.patch|
|Failed: Failed to install HEAD.|
|Failed: 13766 passes, 1 fail, 0 exceptions|
|Failed: 14451 passes, 96 fails, 2803 exceptions|