- add error message for request
This commit is contained in:
parent
957e90aff6
commit
ffee3b257d
@ -25,7 +25,10 @@ class MessageRequest extends FormRequest
|
||||
'email.required' => 'Pole e-mail jest wymagane.',
|
||||
'message.min' => 'Pole wiadomości wymaga 3 znaki.',
|
||||
'sender.min' => 'Pole nadawcy wymaga 3 znaki.',
|
||||
'message.max' => 'Pole wiadomości może mieć maksymalnie 50 znaków.',
|
||||
'sender.max' => 'Pole nadawcy może mieć maksymalnie 500 znaków.',
|
||||
'email.email' => 'Pole musi być e-mailem.',
|
||||
'email.max' => 'Pole e-mail może mieć maksymalnie 250 znaków.',
|
||||
];
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user