diff options
author | Sergey Chebotar <s.chebotar@gmail.com> | 2023-03-06 07:41:35 +0300 |
---|---|---|
committer | Sergey Chebotar <s.chebotar@gmail.com> | 2023-03-06 07:41:35 +0300 |
commit | 0c4d13caed53b2702eef41461d0c8a4b25df48f6 (patch) | |
tree | 6fb6d2d54cedce1c204fb30b75f4d470fbf7ee83 /Views/Account/Create.cshtml | |
parent | cdd58a8f518d037658518c233e74beea22d03906 (diff) |
Base authorization/authentification
Diffstat (limited to 'Views/Account/Create.cshtml')
-rw-r--r-- | Views/Account/Create.cshtml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/Views/Account/Create.cshtml b/Views/Account/Create.cshtml new file mode 100644 index 0000000..2fff64a --- /dev/null +++ b/Views/Account/Create.cshtml @@ -0,0 +1,35 @@ +@using Microsoft.AspNetCore.Identity +@model IdentityUser + +<!DOCTYPE html> +<html> + +<head> + <title>User Acccounts</title> + <link href="/lib/bootstrap/css/bootstrap.min.css" rel="stylesheet" /> +</head> + +<body> + <h5 class="bg-primary text-white text-center p-2">Create User</h5> + <form method="post"> + <div asp-validation-summary="All" class="text-danger"></div> + <div class="form-group"> + <label>User Name</label> + <input name="UserName" class="form-control" value="@Model.UserName" /> + </div> + <div class="form-group"> + <label>Email</label> + <input name="Email" class="form-control" value="@Model.Email" /> + </div> + <div class="form-group"> + <label>Password</label> + <input name="Password" class="form-control" value="" /> + </div> + <div class="py-2"> + <button type="submit" class="btn btn-primary">Submit</button> + <a class="btn btn-secondary" asp-page="list">Back</a> + </div> + </form> +</body> + +</html>
\ No newline at end of file |