Preliminary refactoring of results/show.html.erb