@using EnVisage.Models; @using Microsoft.AspNet.Identity; @model EnVisage.Models.ManageUserViewModel @{ ViewBag.Title = "Manage Account"; }

@ViewBag.Title.

@ViewBag.StatusMessage

@if (ViewBag.HasLocalPassword) { @Html.Partial("_ChangePasswordPartial") } else { @Html.Partial("_SetPasswordPartial") }
@Html.LabelFor(model => model.Email, new { @class = "col-sm-2 control-label" })
@Html.TextBoxFor(model => model.Email, new { @class = "form-control email" }) @Html.ValidationMessageFor(model => model.Email)
@Html.LabelFor(model => model.Phone, new { @class = "col-sm-2 control-label" })
@Html.TextBoxFor(model => model.Phone, new { @class = "form-control phone" }) @Html.ValidationMessageFor(model => model.Phone)
@Html.LabelFor(model => model.PreferredResourceAllocation, new { @class = "col-sm-2 control-label" })
@Html.CheckBoxFor(model => model.PreferredResourceAllocation, new { @id = "preferredallocation"})
@*
@Html.Action("RemoveAccountList") @Html.Partial("_ExternalLoginsListPartial", new { Action = "LinkLogin", ReturnUrl = ViewBag.ReturnUrl })
*@
@section Scripts { @Scripts.Render("~/bundles/jqueryval") }