make checkmark on listing show page

Consider using a view helper http://www.rails-dev.com/custom-view-helpers-in-rails-4