Index: src/wp-admin/user-edit.php
===================================================================
--- src/wp-admin/user-edit.php	(revision 50232)
+++ src/wp-admin/user-edit.php	(working copy)
@@ -728,75 +728,81 @@
 		</td>
 	</tr>
 <?php endif; ?>
-
 	</table>
 
+		<?php if ( wp_is_application_passwords_available_for_user( $user_id ) ) : ?>
+	<h2><?php _e( 'Application Passwords' ); ?></h2>
 
-		<?php if ( wp_is_application_passwords_available_for_user( $user_id ) ) : ?>
-	<div class="application-passwords hide-if-no-js" id="application-passwords-section">
-		<h2><?php _e( 'Application Passwords' ); ?></h2>
-		<p><?php _e( 'Application passwords allow authentication via non-interactive systems, such as XML-RPC or the REST API, without providing your actual password. Application passwords can be easily revoked. They cannot be used for traditional logins to your website.' ); ?></p>
-			<?php
-			if ( is_multisite() ) {
-				$blogs       = get_blogs_of_user( $user_id, true );
-				$blogs_count = count( $blogs );
-				if ( $blogs_count > 1 ) {
-					?>
-					<p>
-						<?php
-						printf(
-							/* translators: 1: URL to my-sites.php, 2: Number of blogs the user has. */
-							_n(
-								'Application passwords grant access to <a href="%1$s">the %2$s blog in this installation that you have permissions on</a>.',
-								'Application passwords grant access to <a href="%1$s">all %2$s blogs in this installation that you have permissions on</a>.',
-								$blogs_count
-							),
-							admin_url( 'my-sites.php' ),
-							number_format_i18n( $blogs_count )
-						);
-						?>
-					</p>
+	<table class="form-table" role="presentation">
+		<tr>
+			<th><?php _e( 'Application Passwords' ); ?></th>
+			<td>
+				<div class="application-passwords hide-if-no-js" id="application-passwords-section">
+					<p><?php _e( 'Application passwords allow authentication via non-interactive systems, such as XML-RPC or the REST API, without providing your actual password. Application passwords can be easily revoked. They cannot be used for traditional logins to your website.' ); ?></p>
 					<?php
-				}
-			}
+					if ( is_multisite() ) {
+						$blogs       = get_blogs_of_user( $user_id, true );
+						$blogs_count = count( $blogs );
+						if ( $blogs_count > 1 ) {
+							?>
+							<p>
+								<?php
+								printf(
+									/* translators: 1: URL to my-sites.php, 2: Number of blogs the user has. */
+									_n(
+										'Application passwords grant access to <a href="%1$s">the %2$s blog in this installation that you have permissions on</a>.',
+										'Application passwords grant access to <a href="%1$s">all %2$s blogs in this installation that you have permissions on</a>.',
+										$blogs_count
+									),
+									admin_url( 'my-sites.php' ),
+									number_format_i18n( $blogs_count )
+								);
+								?>
+							</p>
+							<?php
+						}
+					}
 
-			if ( ! wp_is_site_protected_by_basic_auth( 'front' ) ) {
-				?>
-			<div class="create-application-password form-wrap">
-				<div class="form-field">
-					<label for="new_application_password_name"><?php _e( 'New Application Password Name' ); ?></label>
-					<input type="text" size="30" id="new_application_password_name" name="new_application_password_name" placeholder="<?php esc_attr_e( 'WordPress App on My Phone' ); ?>" class="input" aria-required="true" aria-describedby="new_application_password_name_desc" />
-					<p class="description" id="new_application_password_name_desc"><?php _e( 'Required to create an Application Password, but not to update the user.' ); ?></p>
-				</div>
+					if ( ! wp_is_site_protected_by_basic_auth( 'front' ) ) {
+						?>
+						<div class="create-application-password form-wrap">
+							<div class="form-field">
+								<label for="new_application_password_name"><?php _e( 'New Application Password Name' ); ?></label>
+								<input type="text" size="30" id="new_application_password_name" name="new_application_password_name" placeholder="<?php esc_attr_e( 'WordPress App on My Phone' ); ?>" class="input" aria-required="true" aria-describedby="new_application_password_name_desc" />
+								<p class="description" id="new_application_password_name_desc"><?php _e( 'Required to create an Application Password, but not to update the user.' ); ?></p>
+							</div>
 
-				<?php
-				/**
-				 * Fires in the create Application Passwords form.
-				 *
-				 * @since 5.6.0
-				 *
-				 * @param WP_User $profileuser The current WP_User object.
-				 */
-				do_action( 'wp_create_application_password_form', $profileuser );
-				?>
+							<?php
+							/**
+							 * Fires in the create Application Passwords form.
+							 *
+							 * @since 5.6.0
+							 *
+							 * @param WP_User $profileuser The current WP_User object.
+							 */
+							do_action( 'wp_create_application_password_form', $profileuser );
+							?>
 
-				<?php submit_button( __( 'Add New Application Password' ), 'secondary', 'do_new_application_password' ); ?>
-			</div>
-		<?php } else { ?>
-			<div class="notice notice-error inline">
-				<p><?php _e( 'Your website appears to use Basic Authentication, which is not currently compatible with Application Passwords.' ); ?></p>
-			</div>
-		<?php } ?>
+							<?php submit_button( __( 'Add New Application Password' ), 'secondary', 'do_new_application_password' ); ?>
+						</div>
+					<?php } else { ?>
+						<div class="notice notice-error inline">
+							<p><?php _e( 'Your website appears to use Basic Authentication, which is not currently compatible with Application Passwords.' ); ?></p>
+						</div>
+					<?php } ?>
 
-		<div class="application-passwords-list-table-wrapper">
-			<?php
-			$application_passwords_list_table = _get_list_table( 'WP_Application_Passwords_List_Table', array( 'screen' => 'application-passwords-user' ) );
-			$application_passwords_list_table->prepare_items();
-			$application_passwords_list_table->display();
-			?>
-		</div>
-	</div>
-<?php endif; ?>
+					<div class="application-passwords-list-table-wrapper">
+						<?php
+						$application_passwords_list_table = _get_list_table( 'WP_Application_Passwords_List_Table', array( 'screen' => 'application-passwords-user' ) );
+						$application_passwords_list_table->prepare_items();
+						$application_passwords_list_table->display();
+						?>
+					</div>
+				</div>
+			</td>
+		</tr>
+	</table>
+		<?php endif; ?>
 
 		<?php
 		if ( IS_PROFILE_PAGE ) {
