protected function getBaseTemplate(Request $request, AbstractAdmin $admin)
    {
        if ($request->isXmlHttpRequest()) {
            return $admin->getTemplate('ajax');
        }

        return $admin->getTemplate('layout');
    }