global/form-login.php

- template global form-login autocomplete attributes
- Use nbsp to separate * denoting required fields

Reference:
7145b8f7291e94965b8692a485aab9ee356a0005
80dc183880ba0ee3c95c85d8a91630e4f8fe1bc3
This commit is contained in:
Unknown 2018-06-05 20:11:39 -06:00
parent 3973182b88
commit fb89febaba
1 changed files with 4 additions and 4 deletions

View File

@ -32,12 +32,12 @@ if ( is_user_logged_in() ) {
<?php echo ( $message ) ? wpautop( wptexturize( $message ) ) : ''; // @codingStandardsIgnoreLine ?> <?php echo ( $message ) ? wpautop( wptexturize( $message ) ) : ''; // @codingStandardsIgnoreLine ?>
<p class="form-row form-row-first"> <p class="form-row form-row-first">
<label for="username"><?php esc_html_e( 'Username or email', 'understrap' ); ?> <span class="required">*</span></label> <label for="username"><?php esc_html_e( 'Username or email', 'understrap' ); ?>&nbsp;<span class="required">*</span></label>
<input type="text" class="input-text form-control" name="username" id="username" /> <input type="text" class="input-text form-control" name="username" id="username" autocomplete="username" />
</p> </p>
<p class="form-row form-row-last"> <p class="form-row form-row-last">
<label for="password"><?php esc_html_e( 'Password', 'understrap' ); ?> <span class="required">*</span></label> <label for="password"><?php esc_html_e( 'Password', 'understrap' ); ?>&nbsp<span class="required">*</span></label>
<input class="input-text form-control" type="password" name="password" id="password" /> <input class="input-text form-control" type="password" name="password" id="password" autocomplete="current-password" />
</p> </p>
<div class="clear"></div> <div class="clear"></div>