edit left panel directive