@{
    ViewData["Title"] = "Logga in";
    var returnUrl = ViewBag.ReturnUrl as string ?? "/";
}

<h2>Logga in</h2>

<form method="post" asp-area="Identity" asp-page="/Account/Login">
    <input type="hidden" name="returnUrl" value="@returnUrl" />
    
    <div class="mb-3">
        <label for="username" class="form-label">Användarnamn</label>
        <input type="text" class="form-control" id="username" name="username" required />
    </div>
    <div class="mb-3">
        <label for="password" class="form-label">Lösenord</label>
        <input type="password" class="form-control" id="password" name="password" required />
    </div>
    
    <button type="submit" class="btn btn-primary">Logga in</button>
</form>
