elbee-elgee / bbpress / form-user-register.php

The default branch has multiple heads

Full commit

 * User Registration Form
 * @package bbPress
 * @subpackage Theme


	<form method="post" action="<?php bbp_wp_login_action( array( 'context' => 'login_post' ) ); ?>" class="bbp-login-form">
		<fieldset class="bbp-form">
			<legend><?php _e( 'Create an Account', 'bbpress' ); ?></legend>

			<div class="bbp-template-notice">
				<p><?php _e( 'Your username must be unique, and cannot be changed later.', 'bbpress' ) ?></p>
				<p><?php _e( 'We use your email address to email you a secure password and verify your account.', 'bbpress' ) ?></p>


			<div class="bbp-username">
				<label for="user_login"><?php _e( 'Username', 'bbpress' ); ?>: </label>
				<input type="text" name="user_login" value="<?php bbp_sanitize_val( 'user_login' ); ?>" size="20" id="user_login" tabindex="<?php bbp_tab_index(); ?>" />

			<div class="bbp-email">
				<label for="user_email"><?php _e( 'Email Address', 'bbpress' ); ?>: </label>
				<input type="text" name="user_email" value="<?php bbp_sanitize_val( 'user_email' ); ?>" size="20" id="user_email" tabindex="<?php bbp_tab_index(); ?>" />

			<?php do_action( 'register_form' ); ?>

			<div class="bbp-submit-wrapper">

				<button type="submit" name="user-submit" tabindex="<?php bbp_tab_index(); ?>" class="user-submit"><?php _e( 'Register', 'bbpress' ); ?></button>

				<?php bbp_user_register_fields(); ?>