31 lines
837 B
Plaintext
31 lines
837 B
Plaintext
@using MusicStore.Models;
|
|
@using Microsoft.AspNet.Identity;
|
|
@{
|
|
//Bug: Need a way to specify the layout page in a single place
|
|
Layout = "/Views/Shared/_Layout.cshtml";
|
|
ViewBag.Title = "Manage Account";
|
|
}
|
|
|
|
<h2>@ViewBag.Title.</h2>
|
|
|
|
<p class="text-success">@ViewBag.StatusMessage</p>
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
@if (ViewBag.HasLocalPassword)
|
|
{
|
|
@Html.Partial("_ChangePasswordPartial")
|
|
}
|
|
else
|
|
{
|
|
@Html.Partial("_SetPasswordPartial")
|
|
}
|
|
|
|
<section id="externalLogins">
|
|
@Html.Action("RemoveAccountList")
|
|
@Html.Partial("_ExternalLoginsListPartial", new { Action = "LinkLogin", ReturnUrl = ViewBag.ReturnUrl })
|
|
</section>
|
|
</div>
|
|
</div>
|
|
@section Scripts {
|
|
@Scripts.Render("~/bundles/jqueryval")
|
|
} |