SimpleForm form = new SimpleForm(helper.ViewContext.HttpContext, formAction, method, (htmlAttributes == null) ? new RouteValueDictionary() : new RouteValueDictionary(htmlAttributes)); form.WriteStartTag();