@page
@model webserver.Pages.Account.RegisterModel
@{
    ViewData["Title"] = "Register";
}

<h2>Register</h2>

<div class="row">
    <div class="col-md-6">
        <form method="post">
            <div asp-validation-summary="All"></div>

            <div class="form-group">
                <label asp-for="RegisterInput.Name"></label>
                <input asp-for="RegisterInput.Name" class="form-control" />
                <span asp-validation-for="RegisterInput.Name" class="text-danger"></span>
            </div>

            <div class="form-group">
                <label asp-for="RegisterInput.Phone"></label>
                <input asp-for="RegisterInput.Phone" class="form-control" />
                <span asp-validation-for="RegisterInput.Phone" class="text-danger"></span>
            </div>

            <div class="form-group">
                <label asp-for="RegisterInput.Email"></label>
                <input asp-for="RegisterInput.Email" class="form-control" />
                <span asp-validation-for="RegisterInput.Email" class="text-danger"></span>
            </div>

            <div class="form-group">
                <label asp-for="RegisterInput.Password"></label>
                <input asp-for="RegisterInput.Password" class="form-control" />
                <span asp-validation-for="RegisterInput.Password" class="text-danger"></span>
            </div>

            <div class="form-group">
                <label asp-for="RegisterInput.ConfirmPassword"></label>
                <input asp-for="RegisterInput.ConfirmPassword" class="form-control" />
                <span asp-validation-for="RegisterInput.ConfirmPassword" class="text-danger"></span>
            </div>

            <button type="submit" class="btn btn-primary">Register</button>
        </form>
    </div>
</div>
