title: Symfony2 - get value displayed to user for choice field in twig
body: <p>I am trying to display the "label" (ie, value displayed to user) of a choice field in my twig template. I'm using Symfony 2.3. I just need the label associated with the actual current value of the field. </p>
  
  <p>I finally figured out a way to do it that requires looping through every choice option, but am now wondering if there is a more efficient way? Here is my working code:</p>
  
  <pre><code>{% for choice in form.myfield.vars.choices %}
    {% if choice.value == form.myfield.vars.value %}
      {{ choice.label }}
    {% endif %}
  {% endfor %}
  </code></pre>
  
  <p>I'm looking for something like this (non-working code):</p>
  
  <pre><code>{{ form.myfield.vars.choices[form.myfield.vars.value].label }}
  </code></pre>
  
  <p>Is there a more efficient way, or is my solution the best possible?</p>