Add debug flag to admin templates