aboutsummaryrefslogtreecommitdiff
path: root/ExamTemplate/Web/ExamTemplate.Web/Views/Account/Edit.cshtml
diff options
context:
space:
mode:
Diffstat (limited to 'ExamTemplate/Web/ExamTemplate.Web/Views/Account/Edit.cshtml')
-rw-r--r--ExamTemplate/Web/ExamTemplate.Web/Views/Account/Edit.cshtml20
1 files changed, 20 insertions, 0 deletions
diff --git a/ExamTemplate/Web/ExamTemplate.Web/Views/Account/Edit.cshtml b/ExamTemplate/Web/ExamTemplate.Web/Views/Account/Edit.cshtml
new file mode 100644
index 0000000..a088742
--- /dev/null
+++ b/ExamTemplate/Web/ExamTemplate.Web/Views/Account/Edit.cshtml
@@ -0,0 +1,20 @@
+@model EditUserWebModel
+@{
+ ViewData["Title"] = "Edit Profile";
+}
+
+<form asp-controller="Account" asp-action="Edit" method="post">
+ <label asp-for="Username">Username:</label>
+ <input type="text" asp-for="Username" placeholder="@Model.Username">
+ <span asp-validation-for="Username" class="form-error"></span>
+
+ <label asp-for="FirstName">First Name:</label>
+ <input type="text" asp-for="FirstName" placeholder="@Model.FirstName">
+ <span asp-validation-for="FirstName" class="form-error"></span>
+
+ <label asp-for="LastName">Last Name:</label>
+ <input type="text" asp-for="LastName" placeholder="@Model.LastName">
+ <span asp-validation-for="LastName" class="form-error"></span>
+
+ <input type="submit" value="Update Profile">
+</form>