feat: Phase 5 - polish, validation, rate limiting, Dutch translations
This commit is contained in:
@@ -32,6 +32,19 @@ class SubscribePublicPageRequest extends FormRequest
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array<string, string>
|
||||
*/
|
||||
public function attributes(): array
|
||||
{
|
||||
return [
|
||||
'first_name' => __('First name'),
|
||||
'last_name' => __('Last name'),
|
||||
'email' => __('Email'),
|
||||
'phone' => __('Phone'),
|
||||
];
|
||||
}
|
||||
|
||||
protected function prepareForValidation(): void
|
||||
{
|
||||
$email = $this->input('email');
|
||||
|
||||
Reference in New Issue
Block a user