/**
  * @param FormMapper $formMapper
  */
 protected function configureFormFields(FormMapper $formMapper)
 {
     $formMapper->with('General', array('class' => 'col-md-6'))->add('name')->add('allowedGrantTypes', 'choice', array('choices' => Client::getGrantChoices(), 'multiple' => true))->end()->with('URL', array('class' => 'col-md-6'))->add('redirectUris', 'sonata_type_native_collection', array('type' => 'text', 'allow_add' => true, 'allow_delete' => true))->end();
 }