protected function _delete_form()
    {

        if (version_compare(phpversion(), '5.5', '<')) {
            return $this->container
                ->get('templating.helper.form')
                ->widget(
                    $this->container->get('form.factory')->createBuilder('form', array('id' => '@id'), array())
                        ->add('id', 'hidden')
                        ->getForm()
                        ->createView()
                );
        }
        else {
            return $this->container
                ->get('templating.helper.form')
                ->widget(
                    $this->container->get('form.factory')->createBuilder('Symfony\Component\Form\Extension\Core\Type\FormType', array('id' => '@id'), array())
                        ->add('id', 'Symfony\Component\Form\Extension\Core\Type\HiddenType')
                        ->getForm()
                        ->createView()
                );
        }
    }