Move flash_class helper to admin