Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.
C# aspnet-corecsharpdockerdotnetecommerceecommerce-platformmongodbmulti-storemulti-vendornosqlonline-shopshoppingcart
Views - minor fix to show validation summary for address
KrzysztofPajak31620743817b
diff --git a/src/Web/Grand.Web/Views/Account/AddressAdd.cshtml b/src/Web/Grand.Web/Views/Account/AddressAdd.cshtmlindex ba8d61374..e6c82c0c5 100644--- a/src/Web/Grand.Web/Views/Account/AddressAdd.cshtml+++ b/src/Web/Grand.Web/Views/Account/AddressAdd.cshtml@@ -15,7 +15,7 @@<form asp-route="CustomerAddressAdd" method="post" v-on:submit.prevent="validateBeforeSubmit($event)"><div class="page account-page address-edit-page pl-lg-3 mb-3 pt-lg-0 pt-3"><h1 class="generalTitle h2">@Loc["Account.CustomerAddresses.AddNew"]</h1>- <div asp-validation-summary="ModelOnly" class="message-error"></div>+ <div asp-validation-summary="All" class="message-error"></div>@{var dataDictAddress = new ViewDataDictionary(ViewData);dataDictAddress.TemplateInfo.HtmlFieldPrefix = "Address";diff --git a/src/Web/Grand.Web/Views/Account/AddressEdit.cshtml b/src/Web/Grand.Web/Views/Account/AddressEdit.cshtmlindex 6f97fc2fb..67205ebd5 100644--- a/src/Web/Grand.Web/Views/Account/AddressEdit.cshtml+++ b/src/Web/Grand.Web/Views/Account/AddressEdit.cshtml@@ -15,7 +15,7 @@<form asp-route="CustomerAddressEdit" method="post" v-on:submit.prevent="validateBeforeSubmit($event)"><div class="page account-page address-edit-page pl-lg-3 mb-3 pt-lg-0 pt-3"><h1 class="h2 generalTitle">@Loc["Account.CustomerAddresses.Edit"]</h1>- <div asp-validation-summary="ModelOnly" class="message-error"></div>+ <div asp-validation-summary="All" class="message-error"></div>@{var dataDictAddress = new ViewDataDictionary(ViewData);dataDictAddress.TemplateInfo.HtmlFieldPrefix = "Address";