mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-27 04:19:04 +08:00
#18335: Fixing validation messages
Work Item: 18335 --HG-- branch : 1.x
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
@{ Layout.Title = T("Install a module from your computer").ToString(); }
|
||||
|
||||
@using (Html.BeginFormAntiForgeryPost(Url.Action("InstallLocally", "PackagingServices", new { redirectUrl = HttpContext.Current.Request["returnUrl"] }), FormMethod.Post, new { enctype = "multipart/form-data" })) {
|
||||
Html.ValidationSummary();
|
||||
@Html.ValidationSummary();
|
||||
<fieldset>
|
||||
<label for="ModulePackage">@T("Module Package")</label>
|
||||
<input type="file" id="ModulePackage" size="64" name="ModulePackage" />
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
@{ Layout.Title = T("Install a theme from your computer").ToString(); }
|
||||
|
||||
@using (Html.BeginFormAntiForgeryPost(Url.Action("InstallLocally", "PackagingServices", new { redirectUrl = HttpContext.Current.Request["returnUrl"] }), FormMethod.Post, new { enctype = "multipart/form-data" })) {
|
||||
Html.ValidationSummary();
|
||||
@Html.ValidationSummary();
|
||||
<fieldset>
|
||||
<label for="ModulePackage">@T("Theme Package")</label>
|
||||
<input type="file" id="ThemePackage" size="64" name="ThemePackage" />
|
||||
|
||||
Reference in New Issue
Block a user