## Sign up

@if (!isSignUpSuccess) {
Player name @if (f['playerName'].invalid && (f['playerName'].dirty || !f['playerName'].untouched)) {
@if (f['playerName'].hasError('required')) {

Player name is required

}
}
Email @if (f['email'].invalid && (f['email'].dirty || !f['email'].untouched)) {
@if (f['email'].hasError('required')) {

Email is required

} @if (f['email'].hasError('email')) {

Invalid email format

}
}
Server @if (f['allianceServer'].invalid && (f['allianceServer'].dirty || !f['allianceServer'].untouched)) {
@if (f['allianceServer'].hasError('required')) {

Server is required

}
}
Alliance name @if (f['allianceName'].invalid && (f['allianceName'].dirty || !f['allianceName'].untouched)) {
@if (f['allianceName'].hasError('required')) {

Alliance name is required

}
}
Alliance abbreviation @if (f['allianceAbbreviation'].invalid && (f['allianceAbbreviation'].dirty || !f['allianceAbbreviation'].untouched)) {
@if (f['allianceAbbreviation'].hasError('required')) {

Alliance abbreviation is required

}
}
Password
@if (f['password'].invalid && (f['password'].dirty || !f['password'].untouched )) {
@if (f['password'].hasError('required')) {

Required

} @if (!f['password'].hasError('required')) {
Number
Min length
capital
lower case
special
}
}
Confirm Password
@if (f['confirmPassword'].invalid && (f['confirmPassword'].dirty || !f['confirmPassword'].untouched )) {
@if (f['confirmPassword'].hasError('required')) {

Confirmation password is required

} @if (f['confirmPassword'].hasError('passwordMismatch')) {

Passwords do not match

}
}
} @else {
Alliance Successfully Registered!

##### Welcome, {{ playerName }}!

Your alliance {{ allianceName }} has been successfully registered.

A confirmation email has been sent to the email address you provided. Please check your inbox and confirm the email to complete the registration.

If you can't find the email in your inbox, please also check your spam folder.

}