How to theme the edit page of a form and retrieve $form variable from the hook_form_alter into the template for theming purposes? I have a content type A
How can I add custom theme to edit page of that content type A in drupal 7 only for specific role ?
In my module,

function hook_form_alter(&amp;$form,&amp;$form_state,$form_id) {
if (form_id == 'content_type_a') {
global $user;

if (in_array('rad',$user-&gt;roles)) {
$form['#theme'][] = 'custom_content_type_a_node_form';
}
}
}


In my template.php file I have the following code 

function hook_theme() {
  return array(
    'custom_content_type_a_node_form' =&gt; array(
      'variables' =&gt; array('form' =&gt; NULL),
    );
  );
}

function THEMENAME_custom_content_type_a_node_form($form) {
// When I check here for $form I get an empty value 
// I want to get the $form value derived from the form_alter function's $form //variable . How can I achieve it?




}


How can I retrieve the $form value from the hook_form_alter's $form variable?
Try something like this:

function hook_theme() {
  return array(
    'custom_content_type_a_node_form' =&gt; array(
      'render element' =&gt; 'form',
    );
  );
}

function THEMENAME_custom_content_type_a_node_form($variables) {
  dpm($variables);
}