@(helloForm: Form[Application.Hello])
@import helper._
@main(title = "The 'call waiter' application") {
Configure your 'call waiter':
@form(action = routes.Application.sayHello, args = 'id -> "helloform") {
@inputText(
field = helloForm("name"),
args = '_label -> "Which table needs help?", 'placeholder -> "World"
)
@inputText(
field = helloForm("repeat"),
args = '_label -> "How many tasks does the table need assistance with(eg ordering food, ask for cheque are two different tasks?)", 'size -> 3, 'placeholder -> 10
)
@select(
field = helloForm("color"),
options = options(
"" -> "Default",
"red" -> "Red",
"green" -> "Green",
"blue" -> "Blue"
),
args = '_label -> "Choose a color"
)
}
}