Mike Belyakov said over 7 years ago on Nested Forms from Scratch :

Good video!

The line

$(this).prev('input[type=hidden]').val('1');

will work good only of the form have 1 hidden field. So, better to fetch _delete input with other selector