@(form: Form[(String, String, String, String, String)], teams: List[models.team.Team])(implicit session: oxalis.view.SessionData) @main( ){
@helper.form(routes.Authentication.handleRegistration, 'class -> "form-horizontal") { Sign up
Not a member of the listed teams? Contact oxalis@@scalableminds.com to get more information about how to get to use oxalis.
@form.errors.map { error =>
@Messages(error.message)
} @helper.select(form("team"), ("" -> "") +: teams.map { t => t.name -> t.name }, 'class -> "form-control") @helper.inputText(form("email"), 'type -> "email", 'class -> "form-control") @helper.inputText(form("firstName"), 'class -> "form-control") @helper.inputText(form("lastName"), 'class -> "form-control") @helper.inputPassword(form("password.main"), 'class -> "form-control") @helper.inputPassword(form("password.validation"), 'class -> "form-control")
}
}