pass attrs to view for date groups