aboutsummaryrefslogtreecommitdiff
path: root/ExamTemplate/Web/Views/Account/Register.cshtml
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2021-05-08 18:10:08 +0300
committerSyndamia <kamen.d.mladenov@protonmail.com>2021-05-08 18:10:08 +0300
commit82d270a66b8ffca28e321f29b2eb90b2412ac9a7 (patch)
treebd7e985592a0d8d5ec31b590b3c52d403e17e140 /ExamTemplate/Web/Views/Account/Register.cshtml
parenta1e46b76a1299e35b1ac8cae69e77c66d74224a6 (diff)
downloadit-kariera-exam-template-82d270a66b8ffca28e321f29b2eb90b2412ac9a7.tar
it-kariera-exam-template-82d270a66b8ffca28e321f29b2eb90b2412ac9a7.tar.gz
it-kariera-exam-template-82d270a66b8ffca28e321f29b2eb90b2412ac9a7.zip
Implemented authorization; Replaced Role with IdentityRole<Guid>; Renamed UserController to AccountController, updated links
Diffstat (limited to 'ExamTemplate/Web/Views/Account/Register.cshtml')
-rw-r--r--ExamTemplate/Web/Views/Account/Register.cshtml20
1 files changed, 20 insertions, 0 deletions
diff --git a/ExamTemplate/Web/Views/Account/Register.cshtml b/ExamTemplate/Web/Views/Account/Register.cshtml
new file mode 100644
index 0000000..d255287
--- /dev/null
+++ b/ExamTemplate/Web/Views/Account/Register.cshtml
@@ -0,0 +1,20 @@
+@model ExamTemplate.Web.Models.User.RegisterUserViewModel
+@{
+ ViewData["Title"] = "Register";
+}
+
+<form asp-controller="User" asp-action="Register" method="post">
+ <input type="text" asp-for="FirstName" placeholder="FirstName">
+ <span asp-validation-for="FirstName" class="form-error"></span>
+
+ <input type="text" asp-for="LastName" placeholder="LastName">
+ <span asp-validation-for="LastName" class="form-error"></span>
+
+ <input type="text" asp-for="Username" placeholder="Username">
+ <span asp-validation-for="Username" class="form-error"></span>
+
+ <input type="password" asp-for="Password" placeholder="Password">
+ <span asp-validation-for="Password" class="form-error"></span>
+
+ <input type="submit">
+</form>