@{
    ViewBag.Title = "Login";
}

<h2>Login</h2>

@using (Html.BeginForm())
{
    @Html.AntiForgeryToken()

    <div class="form-group">
        <label>Phone Number</label>
        <input type="text" name="User_PhoneNumber" class="form-control" required />
    </div>

    <div class="form-group">
        <label>Password</label>
        <input type="password" name="User_Password" class="form-control" required />
    </div>

    <button type="submit" class="btn btn-primary">Login</button>
}

@if (!string.IsNullOrEmpty(Convert.ToString(ViewBag.Message)))
{
    <p class="text-danger">@ViewBag.Message</p>
}

