Adding form into detail view