Issue 20514 - Remove id from custom form returnUrl hidden field

This commit is contained in:
myates
2015-09-11 17:31:45 +10:00
parent 47133604c3
commit 3656e5e466

View File

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