Selaa lähdekoodia

Se quita tecnología del formulario

Maxi Schvindt 7 vuotta sitten
vanhempi
commit
5046702485
1 muutettua tiedostoa jossa 0 lisäystä ja 7 poistoa
  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
     }
 
 }