@(addForm: Form[Application.AddParams])

@import helper._

@main("JavaWeb") {

	<p>Enter two numbers to add:</p>
    
	@form(action = routes.Application.doAdd, args = 'id -> "addform") {
	
	    @inputText(
	        field = addForm("x"),
	        args = '_label -> "x?"
	    )
	
	    @inputText(
	        field = addForm("y"),
	        args = '_label -> "y?"
	    )
	
	    <p class="buttons">
	        <input type="submit">
	    </p>
	}
}