design of resource.show page