display form in detail view