/templates/default/bbpress/form-user-lost-pass.php

  1. <?php 
  2.  
  3. /** 
  4. * User Lost Password Form 
  5. * 
  6. * @package bbPress 
  7. * @subpackage Theme 
  8. */ 
  9.  
  10. ?> 
  11.  
  12. <form method="post" action="<?php bbp_wp_login_action( array( 'action' => 'lostpassword', 'context' => 'login_post' ) ); ?>" class="bbp-login-form"> 
  13. <fieldset class="bbp-form"> 
  14. <legend><?php _e( 'Lost Password', 'bbpress' ); ?></legend> 
  15.  
  16. <div class="bbp-username"> 
  17. <p> 
  18. <label for="user_login" class="hide"><?php _e( 'Username or Email', 'bbpress' ); ?>: </label> 
  19. <input type="text" name="user_login" value="" size="20" id="user_login" tabindex="<?php bbp_tab_index(); ?>" /> 
  20. </p> 
  21. </div> 
  22.  
  23. <?php do_action( 'login_form', 'resetpass' ); ?> 
  24.  
  25. <div class="bbp-submit-wrapper"> 
  26.  
  27. <button type="submit" tabindex="<?php bbp_tab_index(); ?>" name="user-submit" class="button submit user-submit"><?php _e( 'Reset My Password', 'bbpress' ); ?></button> 
  28.  
  29. <?php bbp_user_lost_pass_fields(); ?> 
  30.  
  31. </div> 
  32. </fieldset> 
  33. </form> 
.