|
@model sBlog.Net.Models.Account.UpdateProfileModel
@{
ViewBag.Title = string.Format("{0} || {1}", Model.Title, "Update your profile");
}
@Html.Partial("UpdateStatus", Model.UpdateStatus)
<div class="cpHeader">
<b>Profile settings</b>
</div>
<div class="cpContent">
@using (Html.BeginForm())
{
@Html.ValidationSummary()
<div>
<fieldset>
<div class="editor-label">
@Html.LabelFor(m => m.UserEmailAddress)
</div>
<div class="editor-field">
@Html.TextBoxFor(m => m.UserEmailAddress, new { @class = "inputBoxBig" })
</div>
<div class="editor-label">
@Html.LabelFor(m => m.UserDisplayName)
</div>
<div class="editor-field">
@Html.TextBoxFor(m => m.UserDisplayName, new { @class = "inputBoxBig" })
</div>
<div class="editor-label">
@Html.LabelFor(m => m.NewPassword)
</div>
<div class="editor-field">
@Html.PasswordFor(m => m.NewPassword, new { @class = "inputBoxBig" })
</div>
<div class="editor-label">
@Html.LabelFor(m => m.ConfirmPassword)
</div>
<div class="editor-field">
@Html.PasswordFor(m => m.ConfirmPassword, new { @class = "inputBoxBig" })
</div>
<div class="editor-label">
@Html.LabelFor(m => m.UserSite)
</div>
<div class="editor-field">
@Html.TextBoxFor(m => m.UserSite, new { @class = "inputBoxBig" })
</div>
<p>
<input type="submit" value="Update Profile" class="submitBtn" />
</p>
</fieldset>
</div>
}
</div>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Just another passionate software developer!
Some of the contributions to the open source world - a blog engine written in MVC 4 - sBlog.Net. Check it out
here. For the codeproject article regarding sBlog.Net click
here!
(Figuring out this section!)