You should use form_id
as theme key in hook_theme()
, which is user_profile_form
in the case.
function MYTHEME_theme(&$existing, $type, $theme, $path) {
return array(
'user_profile_form' => array(
.
.
.
),
);
}
function MYTHEME_theme(&$existing, $type, $theme, $path) {
return array(
'user_profile_form' => array(
// …
),
);
}
See also issue at d.oTheme Profile2 Form and similar question at stackexchange, a support request opened for the Profile2 module.