I have the model
driver
name
age
sex
type_license
and the model
vehicle
mark
model
anno
type
each model has its controller and its views, both comply with the CRUD (Create, Read, Update and Delete).
But I need that at a certain moment of emergency when creating a new driver, you enter in the same view the data of an unregistered vehicle and that the view can make the validations of the models in the same way and save the two models.
Any idea how this can be done ???