diff --git a/framework/src/play/templates/FastTags.java b/framework/src/play/templates/FastTags.java index 7ce085413c..ee35f24991 100644 --- a/framework/src/play/templates/FastTags.java +++ b/framework/src/play/templates/FastTags.java @@ -137,16 +137,13 @@ public static void _form(Map args, Closure body, PrintWriter out, Executab if (args.containsKey("name")) { name = args.get("name").toString(); } - String id = args.containsKey("id") ? " id=\"" + args.get("id") + "\"" : ""; - String clz = args.containsKey("class") ? " class=\"" + args.get("class") + "\"" : ""; - if (!("GET".equals(actionDef.method) || "POST".equals(actionDef.method))) { String separator = actionDef.url.indexOf('?') != -1 ? "&" : "?"; actionDef.url += separator + "x-http-method-override=" + actionDef.method.toUpperCase(); actionDef.method = "POST"; } String encoding = Http.Response.current().encoding; - out.print("
"); + out.print(""); if (!("GET".equals(actionDef.method))) { _authenticityToken(args, body, out, template, fromLine); }