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

Edit user

@form(routes.UserC.updateUser(id)) { @helper.inputText(userForm("name")) @select( userForm("phone.id"), options(xoptions), '_label -> "Company", '_default -> "-- Choose a company --", '_showConstraints -> false ) } play-example-form
}