@(signupForm: Form[SignupData])(implicit flash: Flash, token: play.filters.csrf.CSRF.Token) @templates.ebe("Sign up")() {

Sign up

@views.html.fragments.forms.globalErrors(signupForm) @helper.form(action = routes.Profile.signupSubmit(), 'class -> "pure-form pure-form-stacked") { @helper.CSRF.formField
@views.html.fragments.forms.labeledField(signupForm("username"), "text", "Username") @views.html.fragments.forms.labeledField(signupForm("password"), "password", "Password") @views.html.fragments.forms.labeledField(signupForm("passwordCheck"), "password", "Password check")
@views.html.fragments.forms.labeledField(signupForm("firstName"), "text", "First name") @views.html.fragments.forms.labeledField(signupForm("lastName"), "text", "Last name") @views.html.fragments.forms.labeledField(signupForm("birthdate"), "date", "Birthdate")
@views.html.fragments.forms.labeledField(signupForm("email"), "email", "E-mail address") @views.html.fragments.forms.labeledField(signupForm("phone"), "tel", "Phone number") @views.html.fragments.forms.labeledField(signupForm("address"), "text", "Address") @views.html.fragments.forms.labeledField(signupForm("postalCode"), "text", "Postal code") @views.html.fragments.forms.labeledField(signupForm("country"), "text", "Country code")
}
}