@model CustomerAddressEditModel @using Nop.Web.Models.Customer; @{ Layout = "~/Views/Shared/_ColumnsTwo.cshtml"; //title Html.AddTitleParts(T("PageTitle.Account").Text); } @section left { @Html.Action("CustomerNavigation", "Customer", new { selectedTabId = CustomerNavigationEnum.Addresses }) } @using (Html.BeginForm()) {

@T("Account.MyAccount") - @T("Account.CustomerAddresses.Edit")

@Html.ValidationSummary(true)
@{ var dataDictAddress = new ViewDataDictionary(); //Merge ModelState (required for validation) dataDictAddress.ModelState.Merge(ViewData.ModelState); dataDictAddress.TemplateInfo.HtmlFieldPrefix = "Address"; @Html.Partial("_CreateOrUpdateAddress", Model.Address, dataDictAddress) }
}