Ver Fonte

Se quita tecnología del formulario

Maxi Schvindt há 7 anos atrás
pai
commit
5046702485
1 ficheiros alterados com 0 adições e 7 exclusões
  1. 0 7
      src/CablemodemBundle/Form/VoipType.php

+ 0 - 7
src/CablemodemBundle/Form/VoipType.php

@@ -19,14 +19,7 @@ class VoipType extends AbstractType
         $builder
             ->add('number', 'text', array('label' => 'voip.number', 'translation_domain' => 'CablemodemBundle'))
             ->add('password', 'text', array('label' => 'voip.password', 'translation_domain' => 'CablemodemBundle'))
-            ->add('technology', ChoiceType::class, array(
-                'choices' => array("MGCP" => "mgcp", "SIP" => "sip"),
-                'required' => true,
-                'label' => 'voip.technology',
-                'translation_domain' => 'CablemodemBundle'
-                ))
         ;
-        //https://symfony.com/doc/current/validation.html
     }
 
 }