feat: Phase 5 - polish, validation, rate limiting, Dutch translations

This commit is contained in:
2026-04-03 22:13:59 +02:00
parent 83e2158383
commit 330950cc6e
18 changed files with 251 additions and 102 deletions

View File

@@ -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');