@model Weee.ViewModels.ProfileViewModel @{ Layout = "~/Views/Shared/_Layout.cshtml"; } @section PageStyles { @Styles.Render("~/account/css") @Styles.Render("~/bootstrap/css") } @section PageScripts { @Scripts.Render("~/jQuery") @Scripts.Render("~/bootstrap") }
@if (ViewBag.SuccessMessage != null) { } @using (Html.BeginForm()) { @Html.AntiForgeryToken()

@Resource.StaticLabelUserInfo


@Html.LabelFor(model => model.Name, new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.Name, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.Name, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.Email, new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.Email, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.Email, "", new { @class = "text-danger" })
@if (ViewBag.SynergerOn) {
@Html.EditorFor(model => model.SynergerGroupId, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.SynergerGroupId, "", new { @class = "text-danger" })
}
@Html.LabelFor(model => model.Job, new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.Job, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.Job, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.PhoneNumber, new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.PhoneNumber, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.PhoneNumber, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.MobileNumber, new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.MobileNumber, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.MobileNumber, "", new { @class = "text-danger" })
@Html.ActionLink(Resource.StaticLabelChangePassword, "Changepassword", "Profile", new { @class = "btn btn-default" }) @Html.ActionLink(Resource.EditCompany, "Company", "Profile", new { @class = "btn btn-default" }) @Html.ActionLink(Resource.StaticLabelSettings, "Settings", "Profile", new { @class = "btn btn-default" }) @Resource.ReturnToLcaPage
}