Open modal showing the edit view of a different resource
I have two different resources 'Verification' and 'Bookings'. Both resources are tied to the Booking model.
On my Verification page, I would like an action that opens a modal when clicked, displaying the edit form of the Booking resource within.
Please can somebody help explain how I could achieve this?
Many thanks in advance for any replies!
Solution:Jump to solution
you can create new action
and in the form method you can call the booking form
BookingResource::form($form);
...2 Replies