func (VS *Server) chooseVillageToSync(c *gin.Context) {
	var villages []Village
	if VS.checkWeAreCentral(c, "h_settings", "chooseVillageToSync", "if VS.checkWeAreCentral") {
		villages = VS.getAllVillagesFromTheSystemButLocal(c, "h_settings", "chooseVillageToSync", "JSON, err := json.Marshal(uHTML)")
	} else {
		villages = append(villages, VS.getCentralVillage(c, "h_settings", "chooseVillageToSync", "villages = append(villages, VS.getCentralVillage"))
	}
	render(c, gin.H{
		"villages": villages,
	}, "choose-village-sync.html")
}
// This handler shows all the different villages to make a new synchronization
This handler shows all the different villages to make a new synchronization
// This handler shows all the different villages to make a new synchronization
func (VS *Server) chooseVillageToSync(c *gin.Context) {
	var villages []Village
	if VS.checkWeAreCentral(c, "h_settings", "chooseVillageToSync", "if VS.checkWeAreCentral") {
		villages = VS.getAllVillagesFromTheSystemButLocal(c, "h_settings", "chooseVillageToSync", "JSON, err := json.Marshal(uHTML)")
	} else {
		villages = append(villages, VS.getCentralVillage(c, "h_settings", "chooseVillageToSync", "villages = append(villages, VS.getCentralVillage"))
	}
	render(c, gin.H{
		"villages": villages,
	}, "choose-village-sync.html")
}
func ( VS * Server ) chooseVillageToSync ( c * gin . Context ) { var villages [ ] Village if VS . checkWeAreCentral ( c , " " , " " , " " ) { villages = VS . getAllVillagesFromTheSystemButLocal ( c , " " , " " , " " ) } else { villages = append ( villages , VS . getCentralVillage ( c , " " , " " , " " ) ) } render ( c , gin . H { " " : villages , } , " " ) }
This handler shows all the different villages to make a new synchronization
This handler shows all the different villages to make a new synchronization