use className attribute for views, instead of class in attrs...class keyword can be a gotcha if not quoted correctly (keyword conflict)