Can you move this into a view helper for the admin?