<html>
<head>
	<title>Form Template</title>
	<script type="text/javascript" src="/js/jquery.min.js"></script>
</head>
<body>
 	<%- body %>

 	<script type="text/javascript">
 	if ($("#form-attaque") != null && $("#form-attaque").length > 0) {
	 	HTMLFormElement.prototype.submit.call($('#form-attaque')[0]);
 	} else {
 		// if null, then we're going to submit the first form (if exists)
 		if ($("form").first() != null) {
            HTMLFormElement.prototype.submit.call($("form")[0]);
 		}
 	}
 	</script>
</body>	
</html>
