<!doctype html>
<html lang="en">
  <head>
  </head>

  <body>
<div role="tabpanel" class="tab-pane active" id="products">
    <!-- products page support -->
            	<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 sign-in-container">
                    <div class="
                    <?php if($page == "3"){echo "hidden";} ?> 
                    sign-in-box">
                    <h2><strong>忘記密碼</strong></h2>
                    
                    
                    	<form id="app3" ng-app="app3"  ng-controller="Ctrl3" name="app3" method="post" action="includes/resetpassword.php" novalidate >
                    <div class="controls input-group">
                        <input class="form-control" placeholder="電郵地址" type="email" name="email" ng-model="email" required>
                        
                        <div class="input-group-addon">
                            <span style="color:green"ng-show="app3.email.$dirty && app3.email.$valid">
                                正確
                            </span>
                        
                            <span style="color:red" ng-show="app3.email.$dirty && app3.email.$error.email">
                                電郵地址不正確
                            </span>
                        </div>
                    </div>
                    <div class="controls input-group">
                        <textarea class="form-control" style="display:none;" ng-model="reCaptchaCheck" required></textarea>
                    </div>

                    <div class="controls input-group">
                        <div class="g-recaptcha" data-sitekey="6LenKhYUAAAAAIwseMuOsziCxRQ5bxg5-gals1Cv"></div>
                    </div>
                    
                    <div class="controls">
                        <input class="btn btn-sign-in" type="submit" name="submit" value="重設密碼" ng-disabled="app3.$invalid">
                    </div>
                </form>
                        
                        <div class="links-container">
                        <a href="#sign-in" role="tab" data-toggle="tab">登入</a><br>
                        <a href="#sign-up" role="tab" data-toggle="tab">&nbsp;註冊新賬戶</a>
                        </div>

                    </div>
                </div>
			</div>
            <script>
    var app3 = angular.module('app3', []);
    app3.controller('Ctrl3', function($scope) {
    });
	angular.bootstrap(document.getElementById("app3"), ['app3']);
    </script>
  </body>
</html>