@if (userForm) {

#### Update User

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

Player name is required

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

Maximum 250 characters allowed

}
}
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

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

Role is required

}
}
}