@model CustomerAddressEditModel @using SmartStore.Web.Models.Customer; @{ Layout = "~/Views/Shared/_ColumnsTwo.cshtml"; //title Html.AddTitleParts(T("PageTitle.Account").Text); } @section left { @Html.Partial("MyAccountNavigation", Model.NavigationModel, new ViewDataDictionary()) } @using (Html.BeginForm()) {

@T("Account.MyAccount")

@T("Account.CustomerAddresses.Edit")

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