The battle happened just outside the city limits.
The temple city existed as an urban center on the world of Aridka. Surrounding the city were cliffs, and on top of these cliffs one could find the remnants of ancient temples and towering obelisks.
Roughly around 21.5 BBY, a group of nine Galactic Republic clone troopers found themselves making a last stand against the forces of the Separatist Droid Army just outside the city. These clones established a deflector shield at their position as a final defense, protecting a vital bridge that provided access directly into the city. With the timely arrival of the Jedi Master known as Plo Koon, the Republic forces were able to triumph over the Separatists and successfully safeguard the city.