This patch makes form_group accept an array of HTML attributes, which will in turn allow fieldsets to have class and id defined.

This will help theming, and was motivated by the problem of theming the node_privacy_by_role checkboxes for view and edit permissions for each role.

Comments

willmoy’s picture

StatusFileSize
new1.19 KB

New patch. Shouldn't have copy/pasted the phpdoc wording so carelessly...

dries’s picture

Committed to HEAD. Thanks.

Anonymous’s picture