From 3656e5e46690efef48630638258e4af426ed31e2 Mon Sep 17 00:00:00 2001 From: myates Date: Fri, 11 Sep 2015 17:31:45 +1000 Subject: [PATCH] Issue 20514 - Remove id from custom form returnUrl hidden field --- .../Orchard.CustomForms/Views/Parts.CustomForm.Wrapper.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Orchard.Web/Modules/Orchard.CustomForms/Views/Parts.CustomForm.Wrapper.cshtml b/src/Orchard.Web/Modules/Orchard.CustomForms/Views/Parts.CustomForm.Wrapper.cshtml index e76d43067..ff5b1876f 100644 --- a/src/Orchard.Web/Modules/Orchard.CustomForms/Views/Parts.CustomForm.Wrapper.cshtml +++ b/src/Orchard.Web/Modules/Orchard.CustomForms/Views/Parts.CustomForm.Wrapper.cshtml @@ -14,7 +14,7 @@ // Model is a Shape, calling Display() so that it is rendered using the most specific template for its Shape type @Display(editor) - @Html.Hidden("returnUrl", Request.RawUrl); + @Html.Hidden("returnUrl", Request.RawUrl, new { id = string.Empty });