match two models query in html

There’s actually another good post on here that you may find helpful. See: Pass different parameters to each form in formset - #2 by datalowe