adding html elements of details page