changed all raw html links to link_to helpers in views