@model web_map.Models.AuthModel

@{
    ViewBag.Title = "Login";
}


<form class="px-4 py-4" action="/Account/Login" method="post">

    @if (Model.AuthError)
    {
        <div class="control-group error">
            <span class="text-danger"><b>@Model.ErrorMsg</b></span>
        </div>
    }
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)
    <div class="form-group">
        <label for="Login"><b>Login</b></label>
        <input type="text" class="form-control" id="Login" name="Login" placeholder="Ваш логин" value="">
    </div>
    <div class="form-group">
        <label for="Password"><b>Password</b></label>
        <input type="password" class="form-control" id="Password" name="Password" placeholder="Ваш пароль" value="">
    </div>
    <button type="submit" class="btn btn-secondary">Вход</button>
</form>       