theme profile2 fields on registration form I have two profile types
teacher and student

so far I have used profile2 module and the profile 2 registration path module.
I have the core fields added

I am trying to add profile2 fields to my user-registration template

So far my template looks like this

&lt;?php
print drupal_render($form['form_build_id']);
print drupal_render($form['form_id']);
?&gt;


&lt;?php print drupal_render($form['account']['name']); // prints the username field ?&gt;
&lt;?php print drupal_render($form['account']['mail']); // prints the mail field ?&gt;
&lt;?php print drupal_render($form['account']['pass']); // prints the password fields ?&gt;


&lt;?php print drupal_render($form['actions']['submit']); // print the submit button ?&gt;
password is not being displayed


I am not sure how i can add profile2 fields to my registration form.
This link should help you in achieving it.