Cleanup and fixes

This commit is contained in:
2013-01-12 14:58:33 -05:00
parent bc019923d2
commit e50052d41e
27 changed files with 240 additions and 156 deletions
+4 -1
View File
@@ -9,7 +9,10 @@
<div class="center-content well">
<p>You're logged in as <strong>@User.Identity.Name</strong>.</p>
<p>You're logged in as <strong>@User.Identity.Name</strong>.
Your name is <strong>@Model.FullName</strong> and
email is <strong>@Model.Email</strong>.
</p>
@Html.Partial("_ChangePasswordPartial")
+1
View File
@@ -15,6 +15,7 @@
<div class="header"></div>
<h2>@ViewBag.Title</h2>
<p>Hello <strong>@Model.Username</strong>, please enter a new password below.</p>
@Html.AntiForgeryToken()
@Html.Partial("_ValidationSummary")
-33
View File
@@ -1,33 +0,0 @@
@model MileageTraker.Web.ViewModels.Account.RegisterModel
@{
ViewBag.Title = "Register";
}
<hgroup class="title">
<h1>@ViewBag.Title</h1>
<h2>Create a new account.</h2>
</hgroup>
@using (Html.BeginForm()) {
@Html.AntiForgeryToken()
@Html.Partial("_ValidationSummary")
<fieldset>
<legend>Registration Form</legend>
<ol>
<li>
@Html.LabelFor(m => m.UserName)
@Html.TextBoxFor(m => m.UserName)
</li>
<li>
@Html.LabelFor(m => m.Password)
@Html.PasswordFor(m => m.Password)
</li>
<li>
@Html.LabelFor(m => m.ConfirmPassword)
@Html.PasswordFor(m => m.ConfirmPassword)
</li>
</ol>
<input type="submit" value="Register" />
</fieldset>
}