title: Integrating Chosen JQuery plugin with Symfony2 SonataAdminBundle
body: <p>I am using SonataAdminBundle version 2.0 with Symfony2 version 2.0.11</p>
  
  <p>My entities have several OneToMany relationships and I want to make the selection easier by using the <a href="http://harvesthq.github.com/chosen/" rel="nofollow">Chosen JQuery plugin</a>. </p>
  
  <p>Here is the Entity definition:</p>
  
  <pre><code>class Merchant
  {
      /**
       * @var integer $id
       *
       * @ORM\Column(name="id", type="integer")
       * @ORM\Id
       * @ORM\GeneratedValue(strategy="AUTO")
       */
      private $id;
  
      /**
       * @var string $name
       *
       * @ORM\Column(name="name", type="string", length=255)
       * @Gedmo\Translatable
       */
      private $name;
  
      /**
       * @ORM\ManyToMany(targetEntity="Category", inversedBy="merchants")
       */
      public $categories;
  
      /**
       * @ORM\ManyToOne(targetEntity="Category", inversedBy="merchants")
       */
      protected $primaryCategory;
  
  ...
  }
  </code></pre>
  
  <p>Here is a sample Admin code:</p>
  
  <pre><code>$formMapper
          -&gt;add('name')
          -&gt;add('primaryCategory', 'sonata_type_model', array('attr' =&gt; array('class' =&gt; 'chzn-select')))
          -&gt;add('categories', 'sonata_type_model', array('expanded' =&gt; false, 'multiple' =&gt; true, 'attr' =&gt; array('class' =&gt; 'chzn-select')))
  </code></pre>
  
  <p>I have confirmed that chosen.css and chosen.js are loaded in the page. But I don't see the corresponding sprites being loaded. Neither do I see any "Chosen" magic. </p>
  
  <p>Am I missing something here?
  How can I correctly integrate Chosen with SonataAdmin?</p>