Implement printing of solutions on detail page