summaryrefslogtreecommitdiff
path: root/Project-Unite/Views/Manage/ChangePassword.cshtml
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-03-20 16:45:17 -0400
committerMichael <[email protected]>2017-03-20 16:45:17 -0400
commitcdc61eb4ea5309769ad4db84d92594e4dc3dff67 (patch)
treea8297a7aecc4376f07a497a5e02ab5ff165bfbd3 /Project-Unite/Views/Manage/ChangePassword.cshtml
parentd9f475e1f33bbf39ca0d79d7a6b0c2fd501b4f2d (diff)
downloadproject-unite-cdc61eb4ea5309769ad4db84d92594e4dc3dff67.tar.gz
project-unite-cdc61eb4ea5309769ad4db84d92594e4dc3dff67.tar.bz2
project-unite-cdc61eb4ea5309769ad4db84d92594e4dc3dff67.zip
Initial commit (azure deploy test)
Diffstat (limited to 'Project-Unite/Views/Manage/ChangePassword.cshtml')
-rw-r--r--Project-Unite/Views/Manage/ChangePassword.cshtml40
1 files changed, 40 insertions, 0 deletions
diff --git a/Project-Unite/Views/Manage/ChangePassword.cshtml b/Project-Unite/Views/Manage/ChangePassword.cshtml
new file mode 100644
index 0000000..f008697
--- /dev/null
+++ b/Project-Unite/Views/Manage/ChangePassword.cshtml
@@ -0,0 +1,40 @@
+@model Project_Unite.Models.ChangePasswordViewModel
+@{
+ ViewBag.Title = "Change Password";
+}
+
+<h2>@ViewBag.Title.</h2>
+
+@using (Html.BeginForm("ChangePassword", "Manage", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
+{
+ @Html.AntiForgeryToken()
+ <h4>Change Password Form</h4>
+ <hr />
+ @Html.ValidationSummary("", new { @class = "text-danger" })
+ <div class="form-group">
+ @Html.LabelFor(m => m.OldPassword, new { @class = "col-md-2 control-label" })
+ <div class="col-md-10">
+ @Html.PasswordFor(m => m.OldPassword, new { @class = "form-control" })
+ </div>
+ </div>
+ <div class="form-group">
+ @Html.LabelFor(m => m.NewPassword, new { @class = "col-md-2 control-label" })
+ <div class="col-md-10">
+ @Html.PasswordFor(m => m.NewPassword, new { @class = "form-control" })
+ </div>
+ </div>
+ <div class="form-group">
+ @Html.LabelFor(m => m.ConfirmPassword, new { @class = "col-md-2 control-label" })
+ <div class="col-md-10">
+ @Html.PasswordFor(m => m.ConfirmPassword, new { @class = "form-control" })
+ </div>
+ </div>
+ <div class="form-group">
+ <div class="col-md-offset-2 col-md-10">
+ <input type="submit" value="Change password" class="btn btn-default" />
+ </div>
+ </div>
+}
+@section Scripts {
+ @Scripts.Render("~/bundles/jqueryval")
+} \ No newline at end of file