cleaned up some commented code and aligned some of the html.erb