@model Infrastructure.Models.RegisterViewModel
@{
  ViewData["Title"] = "Register an account";
}

<h1>Register an account</h1>

<form 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">
  <span asp-validation-for="@Model.Password"></span>

  <label asp-for="@Model.ConfirmPassword"></label>
  <input asp-for="@Model.ConfirmPassword">
  <span asp-validation-for="@Model.ConfirmPassword"></span>

  <button type="submit">Create your account</button>
</form>

