#18335: Fixing validation messages

Work Item: 18335

--HG--
branch : 1.x
This commit is contained in:
Sebastien Ros
2012-01-13 16:11:22 -08:00
parent 3907ab4de6
commit 664bfe0550
7 changed files with 34 additions and 12 deletions

View File

@@ -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" />

View File

@@ -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" />