Add html helper; use HTML instead of ERB
Fix querying multiple times for links