add form to view details