<div class="ui-g" *ngIf="!member">
    <div class="ui-g-12">
        <form [formGroup]="resetPasswordForm" (ngSubmit)="resetPasswordSubmit()">
            <table class="login-table">
                <tr>
                    <td>
                        <div class="login-panel ui-fluid">
                            <div class="ui-g">
                                <div class="ui-g-12">
                                    <!--img src="assets/layout/images/logo-ultima.svg" -->
                                    <img src="assets/layout/images/overFlow_CI_blue_185.png">
                                </div>
                                <div class="ui-g-12">
                                    <span class="md-inputfield">
                                        <input type="email" id="email" autocomplete="off" placeholder="Please enter your email" formControlName="email" required class="ui-inputtext ui-corner-all ui-state-default ui-widget">
                                    </span>
                                    <div *ngIf="email.touched && !email.valid" class="ui-message ui-messages-error ui-corner-all">
                                      Invalid email
                                    </div>
                                </div>

                                <div class="ui-g-12">
                                    <button
                                      [disabled]="!resetPasswordForm.valid"
                                            type="submit" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-icon-left">
                                        <span class="ui-button-icon-left ui-c fa fa-fw ui-icon-cached"></span>
                                        <span class="ui-button-text ui-c">Reset Password</span>
                                    </button>

                                    <a style="cursor: pointer" (click)="onSignin()">Sign In</a>
                                    |
                                    <a style="cursor: pointer" (click)="onSignup()">Sign Up</a>
                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
            </table>
        </form>
    </div>

</div>
<div class="ui-g" *ngIf="member">
  I sent an authentication mail to the mail address you registered. Please check and change your password.
</div>