added template html to views/trails/index.html, removing all but one of the trail divs, then wrapped div in a trails.each do and end block