@{
    ViewData["Title"] = "Forgot Password ?";
    Layout = "~/Views/Shared/_LoginLayout.cshtml";
}
@model EForT.Models.Legacy.ForgetPasswordModel

@using (Html.BeginForm("ForgetPassword", "Login", FormMethod.Post, Model))
{
    <div class="container center-layout">
        <div class="content-wrapper">
            <div class="content-header row">
            </div>
            <div class="content-body">
                <section class="flexbox-container">
                    <div class="col-12 d-flex align-items-center justify-content-center">
                        <div class="col-sm-12 col-md-6 col-lg-5 col-xl-5 col-12 box-shadow-2 p-0 py-2">
                            <div class="card border-grey border-lighten-3 px-1 pt-1 m-0">
                                <div class="card-header border-0 pb-0">
                                    <div class="card-title text-center row">
                                        <div class="col-12">
                                            <img src="~/images/apple-icon76.png" alt="branding logo">
                                        </div>
                                        <div class="col-12">
                                            <h6 class="card-subtitle line-on-side text-center font-small-3 pt-1"><span>Empowered Forex Trader</span></h6>
                                        </div>
                                    </div>
                                </div>
                                <div class="card-content">
                                    <div class="card-body pb-1">
                                        <h3 class="text-center mb-1">Forgot your Password?</h3>
                                        <div class="mb-2 font-medium-1">
                                            <p><span class=" text-primary">Important note:</span> the email must be associated with your account. Contact us if you have forgotten your username.</p>
                                        </div>
                                        <div class="form-horizontal">
                                            <fieldset class="form-group">
                                                <label for="UserName">Username <i class="warning">*</i> </label>
                                                <input type="search" class="form-control" asp-for="@Model.UserName" id="UserName" required>
                                            </fieldset>
                                            <fieldset class="form-group">
                                                <label for="UserEmail">Email <i class="warning">*</i> </label>
                                                <input type="email" class="form-control" asp-for="@Model.UserEmail" id="UserEmail" required>
                                            </fieldset>
                                            <fieldset class="form-group">
                                                <label for="pickerUserDOB">Date of Birth <i class="warning">*</i></label>
                                                <input type="text" class="form-control" asp-for="@Model.UserDOB" id="pickerUserDOB" required>
                                            </fieldset>
                                            <div class="row">
                                                @if (ViewBag.ForgetPassword != "")
                                                {
                                                    <div class="text-danger text-center error-message my-1">
                                                        <span>@ViewBag.ForgetPassword</span>
                                                    </div>
                                                }
                                                <div class="col-md-6 col-sm-12 mt-1">
                                                    <button type="submit" class="btn btn-primary btn-block">Submit</button>
                                                </div>
                                                <div class="col-md-6 col-sm-12 mt-1">
                                                    <a href="@Url.Action("Index", "Login")" class="btn btn-secondary btn-block">Back to Login</a>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="card-footer">
                                    <div class="text-center">Copyright  &copy; @DateTime.Today.Date.Year.ToString() Empowered Forex Trader - All rights reserved. </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </section>
            </div>
        </div>
    </div>
}

