form trait: also pass the controller (as ctx) to the form