Skip to content

Instantly share code, notes, and snippets.

@mikebrind
Created May 7, 2019 11:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikebrind/a76b676d0927120c040ca9250d25fa16 to your computer and use it in GitHub Desktop.
Save mikebrind/a76b676d0927120c040ca9250d25fa16 to your computer and use it in GitHub Desktop.
@page
@model IndexModel
@{
ViewData["Title"] = "Home page";
}
<div>
@Model.Message
</div>
<form method="post">
<div class="form-group">
<label asp-for="UserName" class="col-form-label col-md-2"></label>
<div class="col-md-10">
<input asp-for="UserName" />
</div>
</div>
<div class="form-group">
<label asp-for="Password" class="col-form-label col-md-2"></label>
<div class="col-md-10">
<input asp-for="Password" />
</div>
</div>
<div class="form-group">
<button class="btn btn-outline-primary btn-sm">Log in</button>
</div>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment