@model LoginViewModel
@{
  ViewData["Title"]  = "Connexion";
}

<h1>Se connecter</h1>

<form asp-action="Login" method="post">
  <label asp-for="@Model.Username"></label>
  <input asp-for="@Model.Username" />
  <span asp-validation-for="@Model.Username"></span>

  <label asp-for="@Model.Password"></label>
  <input asp-for="@Model.Password" type="password" />
  <span asp-validation-for="@Model.Password"></span>

  <button type="submit">Se connecter</button>
</form>