private function getDeleteForm(AbstractAdmin $admin, $entity)
    {
        $translator = $this->getTranslator();

        return $this->createFormBuilder()
            ->setAction($this->getAdminRoutingHelper()->generateUrl($admin, 'delete', ['id' => $entity->getId()]))
            ->setMethod('DELETE')
            ->add(
                'submit',
                SubmitType::class,
                [
                    'label' => $translator->trans('crud.delete.action', [], 'ShuweeAdminBundle'),
                    'attr' => ['class' => 'btn-danger'],
                ]
            )
            ->getForm();
    }