diff --git a/core/modules/datetime/datetime.module b/core/modules/datetime/datetime.module index 79905f8..00f8617 100644 --- a/core/modules/datetime/datetime.module +++ b/core/modules/datetime/datetime.module @@ -36,7 +36,7 @@ function datetime_element_info() { '#element_validate' => array('datetime_datetime_validate'), '#process' => array('datetime_datetime_form_process'), '#theme' => 'datetime_form', - '#theme_wrappers' => array('datetime_wrapper'), + '#theme_wrappers' => array('form_element'), '#date_date_format' => config('system.date')->get('formats.html_date.pattern.' . $format_type), '#date_date_element' => 'date', '#date_date_callbacks' => array(),