created partial for single idea and removed repitition in views