title: Symfony Twig Form Theming of specific fields
body: <p>I have a custom form field type and an associated form theme for it. On one page I have a lot of these fields, but one of the fields in particular I want to change.</p>
  
  <p>Is there any way to theme certain fields of the same type (and in the same file) differently?</p>
  
  <p>A simplified example:</p>
  
  <p>form_fields.html.twig: (local theming file)</p>
  
  <pre><code>{% block my_dropdown_row %}
  &lt;div&gt;
      {{ form_label(form) }}
      {{ form_widget(form) }}
      {{ form_errors(form) }}
  &lt;/div&gt;
  {% endblock %}
  </code></pre>
  
  <p>In my form template (all these fields have the same type - <code>my_dropdown</code></p>
  
  <pre><code>{{ form_row(form.selectionA) }}
  {{ form_row(form.selectionB) }}
  {{ form_row(form.selectionC) }}
  {{ form_row(form.final_selection) }}
  </code></pre>
  
  <p>How can I style the final field differently to the others? There is a lot of code in these widgets so less duplication the better.</p>