@(users: List[mef.entities.User], userForm: Form[UserModel], xoptions: Map[String,String]) @import helper._ @main("Users list") {

Create a new user

@if(flash.containsKey("fail")) {
Oops! @flash.get("fail")
} else {
no flash
} @form(routes.UserC.createUser()) { @helper.inputText(userForm("name")) @select( userForm("phone.id"), options(xoptions), '_label -> "Company", '_default -> "-- Choose a company --", '_showConstraints -> false ) } play-example-form
}