Using single template for showing tree select