Skip to content

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.

Theme.Modern plugin - update missing partials

support74c71c3a5fc8
diff --git a/src/Plugins/Theme.Modern/Views/Modern/Account/SubAccountAdd.cshtml b/src/Plugins/Theme.Modern/Views/Modern/Account/SubAccountAdd.cshtml
index 9cfe4df50..f88c3934b 100644
--- a/src/Plugins/Theme.Modern/Views/Modern/Account/SubAccountAdd.cshtml
+++ b/src/Plugins/Theme.Modern/Views/Modern/Account/SubAccountAdd.cshtml
@@ -25,8 +25,8 @@
@Loc["Account.Navigation"]
</div>
</a>
- <div asp-validation-summary="ModelOnly" class="message-error alert alert-danger my-3"></div>
- <partial name="Partials/CreateOrUpdateSubAccount" model="Model" />
+ <div asp-validation-summary="All" class="message-error my-3"></div>
+ <partial name="Partials/CreateSubAccount" model="Model" />
<div class="buttons generalMarginSupporter">
<input type="submit" class="btn btn-info save-subaccount-button" value="@Loc["Common.Save"]" />
</div>
diff --git a/src/Plugins/Theme.Modern/Views/Modern/Account/SubAccountEdit.cshtml b/src/Plugins/Theme.Modern/Views/Modern/Account/SubAccountEdit.cshtml
index 979837a20..c3cc10bf9 100644
--- a/src/Plugins/Theme.Modern/Views/Modern/Account/SubAccountEdit.cshtml
+++ b/src/Plugins/Theme.Modern/Views/Modern/Account/SubAccountEdit.cshtml
@@ -25,8 +25,8 @@
@Loc["Account.Navigation"]
</div>
</a>
- <div asp-validation-summary="ModelOnly" class="message-error alert alert-danger"></div>
- <partial name="Partials/CreateOrUpdateSubAccount" model="Model" />
+ <div asp-validation-summary="All" class="message-error"></div>
+ <partial name="Partials/EditSubAccount" model="Model" />
<div class="buttons generalMarginSupporter">
<input type="submit" class="btn btn-info save-subaccount-button" value="@Loc["Common.Save"]" />
</div>