Clean up view code in list.gsp