drupal_html_id() is run in both form_process_container() and theme_container().
Thus all 'containers' get an id ending in '-2'.
You can see that on a node edit page, around 'body' and 'title' fields.

drupal_html_id() is the job of form building, so this patch removes it from theme_container().

CommentFileSizeAuthor
form_container_id.patch712 bytesyched
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

yched’s picture

Component: field system » forms system
Dries’s picture

Status: Needs review » Fixed

Committed to CVS HEAD. Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.