title: symfony2: remove widget attributtes
body: <p>When I've created a form:</p>
  
  <pre><code>    $builder = $this-&gt;createFormBuilder();
      $form = $builder-&gt;add( 'add', 'button')-&gt;getForm();
  </code></pre>
  
  <p>and render it:</p>
  
  <pre><code>    &lt;div&gt;&lt;button type="button" id="form_add" name="form[add]"&gt;Add&lt;/button&gt;&lt;/div&gt;
  </code></pre>
  
  <p>the attributes type, id and name are created.</p>
  
  <p>I want to erase this attributes but I don't know how to do it. I've tried to do:</p>
  
  <pre><code>    $builder = $this-&gt;createFormBuilder();
      $form = $builder-&gt;add( 'add', 'button', array( 'attr' =&gt; array() ) )-&gt;getForm();
  </code></pre>
  
  <p>without any success.</p>
  
  <p>How could I do it?</p>
  
  <p>Greetings and thanks</p>