hi i am trying to display a form and following a proper tutorial.. But i am getting compilation error which is..
missing arguments for method apply in object form; follow this method with `_' if you want to treat it as a partially applied function
My template look like this
@main("Example"){
<h1>SignUp Form</h1>
@helper.form(action = routes.Application.submit())
{
@helper.inputText(signupform("name"))
@helper.inputText(signupform("password"))
<input type="submit" value="Signup" />
}
}
Your braces are wrong...
@helper.form(action = routes.Application.submit()) {
@helper.inputText(signupform("name"))
@helper.inputText(signupform("password"))
<input type="submit" value="Signup" />
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With