Cleanup directives file
Change to using input active class for editing