Trying to figure out how does routes and views works for parent-child forms

I have a parent model and a child model. I can CRUD both using the classic nested routes from this guide :

Now I want to nest my interface like that :

From what I understand The children should have their own nested routes but I am not sure how to do that. Or maybe I should add actions to the parent edit.js ?