```php
$form->setAttribute(
    'action',
    $this->url(
        ...
```