@using eSuite.API.Translation
@model eSuite.API.Controllers.ProfileViewModel
@{
var t = await Model.TranslatorFactory.Use(Namespaces.Common);
Layout = null;
}
@using (Html.BeginForm(FormMethod.Post, true, null))
{
@Html.AntiForgeryToken()
@Html.LabelFor(m => m.Profile.Email,t.T("Email"))
@Html.EditorFor(m => m.Profile.Email, new { htmlAttributes = new
{
@class = "form-control",
@disabled = "disabled"
} })
@Html.ValidationMessageFor(m => m.Profile.Email)
@Html.LabelFor(m => m.Profile.FirstName, t.T("FirstName"))
@Html.EditorFor(m => m.Profile.FirstName, new { htmlAttributes = new { @class = "form-control" } })
@Html.ValidationMessageFor(m => m.Profile.FirstName)
@Html.LabelFor(m => m.Profile.MiddleNames, t.T("MiddleNames"))
@Html.EditorFor(m => m.Profile.MiddleNames, new { htmlAttributes = new { @class = "form-control" } })
@Html.ValidationMessageFor(m => m.Profile.MiddleNames)
@Html.LabelFor(m => m.Profile.LastName, t.T("LastName"))
@Html.EditorFor(m => m.Profile.LastName, new { htmlAttributes = new { @class = "form-control" } })
@Html.ValidationMessageFor(m => m.Profile.LastName)
@await Html.PartialAsync("_loginMethodChooser", Model.Profile)
}