Creating an edit view for a parent and multiple childern

I have an “event” that has many photos. Can anybody point me to an
example for writing an edit event view so I can add/delete/update photos
belonging to an event.