Moved List html code into erb.