added form to detail.html