I am trying to theme my ubercart forms to make them more user friendly.
I am doing this by using template.php.
I have been able to modify most of the form elements apart from the page title field. I want to re-name it, but it doesn't seem to accept any modifications.
This is the code I am using - is it the correct way of doing it?
// we register the form to the theme registry
function swb_theme(){
return array(
'photo_product_node_form' => array(
'arguments' => array('form' => NULL),
'template' => 'photo_product_node_form',
),
);
}
// Photo Order
function swb_preprocess_photo_product_node_form(&$vars) {
$vars['form']['title']['#title] = Photo Name;
$vars['form']['title']['#description'] = 'Enter the photo name';
}
