diff --git a/src/Umbraco.Web/HtmlHelperRenderExtensions.cs b/src/Umbraco.Web/HtmlHelperRenderExtensions.cs
index 79d6ec3f7c..1a0bee2586 100644
--- a/src/Umbraco.Web/HtmlHelperRenderExtensions.cs
+++ b/src/Umbraco.Web/HtmlHelperRenderExtensions.cs
@@ -188,23 +188,29 @@ namespace Umbraco.Web
///
internal class UmbracoForm : MvcForm
{
- ///
- /// Creates an UmbracoForm
- ///
- ///
- ///
- ///
- ///
- ///
- public UmbracoForm(
+
+
+ ///
+ /// Creates an UmbracoForm
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ public UmbracoForm(
ViewContext viewContext,
string surfaceController,
string surfaceAction,
string area,
+ FormMethod method,
object additionalRouteVals = null)
: base(viewContext)
{
- //need to create a params string as Base64 to put into our hidden field to use during the routes
+ _viewContext = viewContext;
+ _method = method;
+ //need to create a params string as Base64 to put into our hidden field to use during the routes
var surfaceRouteParams = string.Format("c={0}&a={1}&ar={2}",
viewContext.HttpContext.Server.UrlEncode(surfaceController),
viewContext.HttpContext.Server.UrlEncode(surfaceAction),
@@ -212,21 +218,19 @@ namespace Umbraco.Web
var additionalRouteValsAsQuery = additionalRouteVals != null ? additionalRouteVals.ToDictionary