title: Django - Render the <label> of a single form field
body: <p>I'm selectively rendering fields on a form.</p>
  
  <pre><code>class SomeForm(forms.Form):
      foo = forms.ChoiceField(label='Some Foo', ...)
      bar = forms.BooleanField(label='Some Bar', ...)
      ...
  </code></pre>
  
  <p>I've got a custom tag that, based on some other logic, lets me iterate over the fields of the form that I need using the <code>FIELD</code> context variable in the tag:</p>
  
  <pre><code>{% fieldsineed %}
    {% if FIELD.field.widget|klass == "CheckboxInput" %}
      &lt;li&gt;{{ FIELD }} {{ FIELD.field.label }}&lt;/li&gt;
    {% else %}
      &lt;li&gt;{{ FIELD.label }}: {{ FIELD }}&lt;/li&gt;
    {% endif %}
  {% endfieldsineed %}
  </code></pre>
  
  <p>(<code>klass</code> is a filter I got from <a href="https://stackoverflow.com/questions/1809874">here</a> which returns the class name of the filtered value.)</p>
  
  <p>Unfortunately, <code>FIELD.label</code> is only a string. Is there an easy way to render a <code>&lt;label&gt;</code> tag for a given form field?</p>