mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Issue 20514 - Remove id from custom form returnUrl hidden field
This commit is contained in:
@@ -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 });
|
||||
|
||||
<fieldset class="submit-button">
|
||||
<button type="submit" name="submit.Save" value="submit.Save">@Model.ContentPart.SubmitButtonText</button>
|
||||
|
Reference in New Issue
Block a user