A 12-year-old boy has pleaded guilty to violent disorder after serious disturbances in a Leeds suburb over the summer.