title: How to disable autoescaping in form_row() in Symfony 2
body: <p>I'm trying to print a field using <code>form_row()</code> without autoescaping <code>|raw</code></p>
  
  <p>autoescaping is enabled already enabled in the project, I want to disable it only in the search field</p>
  
  <p>the form:</p>
  
  <pre><code>// $builder ...
  
      /** @Ignore */
       $placeholder = '&amp;#xf142;';
  
       $builder-&gt;add('query', 'search', [
          'required' =&gt; false,
          'attr' =&gt; [
             'placeholder' =&gt; $placeholder
           ],
          'label' =&gt; 'search'
       ]);
  </code></pre>
  
  <p>I am using <code>{{ form_rest(form) }}</code> to print all the fields, but I want to disable auescaping only on <code>search</code> which is the last field.</p>
  
  <p>This is what I tried but it doesn't work:</p>
  
  <pre><code>{{ form_rest(form) }}
  {{ form_row(form.query)|raw }}
  </code></pre>
  
  <p>I tried <code>{{ form_row(form.query|raw) }}</code> also</p>
  
  <p><a href="https://i.stack.imgur.com/JqzkE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JqzkE.png" alt="Output"></a></p>