<?php foreach ( bbp_edit_user_contact_methods() as $name => $desc ) : ?>
<div>
<label for="<?php echo $name; ?>"><?php echo apply_filters( 'user_'.$name.'_label', $desc ); ?></label>
<input type="text" name="<?php echo $name; ?>" id="<?php echo $name; ?>" value="<?php echo esc_attr( bbp_get_displayed_user_field( 'name' ) ); ?>" class="regular-text" tabindex="<?php bbp_tab_index(); ?>" />
</div>
<?php endforeach; ?>
<?php do_action( 'bbp_user_edit_after_contact' ); ?>
</fieldset>
<h2 class="entry-title"><?php bbp_is_user_home() ? _e( 'About Yourself', 'bbpress' ) : _e( 'About the user', 'bbpress' ); ?></h2>
<fieldset class="bbp-form">
<legend><?php bbp_is_user_home() ? _e( 'About Yourself', 'bbpress' ) : _e( 'About the user', 'bbpress' ); ?></legend>
<?php do_action( 'bbp_user_edit_before_about' ); ?>