user login, register, hashed passwords, announcements start
This commit is contained in:
30
StudentHouseDashboard/WebApp/Pages/Register.cshtml
Normal file
30
StudentHouseDashboard/WebApp/Pages/Register.cshtml
Normal file
@@ -0,0 +1,30 @@
|
||||
@page
|
||||
@model WebApp.Pages.RegisterModel
|
||||
@{
|
||||
ViewData["Title"] = "Register";
|
||||
}
|
||||
|
||||
<h1>@ViewData["Title"]</h1>
|
||||
|
||||
@if (ViewData["confirm"] != null)
|
||||
{
|
||||
<div class="alert alert-primary" role="alert">
|
||||
@ViewData["confirm"]
|
||||
</div>
|
||||
}
|
||||
|
||||
<form method="post">
|
||||
<div class="mb-3">
|
||||
<label asp-for="MyUser.Role" class="form-label">Role: </label>
|
||||
<input asp-for="MyUser.Role" class="form-control" />
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label asp-for="MyUser.Name" class="form-label">Name: </label>
|
||||
<input asp-for="MyUser.Name" class="form-control" />
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label asp-for="MyUser.Password" class="form-label">Password: </label>
|
||||
<input asp-for="MyUser.Password" class="form-control" />
|
||||
</div>
|
||||
<input type="submit" value="Submit" class="btn btn-primary" />
|
||||
</form>
|
Reference in New Issue
Block a user