Cleanup and fixes
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -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>
|
||||
}
|
||||
Reference in New Issue
Block a user