title: Get form values and labels and send it in a email
body: <p>Im trying to write a function for getting form values and their label so I can have them in a email body like this:</p>
  
  <pre><code>&lt;p&gt;&lt;strong&gt;Labelvalue&lt;/strong&gt;: formvalue&lt;/p&gt;
  </code></pre>
  
  <p>Is that possible?</p>
  
  <p>When I do "body = smart_unicode(form.cleaned_data)" I get the dict, but Im not sure what I could do to get the html like I want.</p>
  
  <p>forms.py</p>
  
  <pre><code>class MyForm(forms.Form):
      TYPE_CHOICES = (
          (ADULT, 'Adult'),
          (CHILD, 'Child'),
      )
      type = forms.ChoiceField(widget=RadioSelect, choices=TYPE_CHOICES, label='Adult or child')
      name = forms.CharField(label='Name')
      birthdate = forms.DateField(widget=SelectDateWidget(years=range(2012,1900,-1)), label='Birthdate')
      address = forms.CharField(label='Address')
      email = forms.EmailField(label='Email')
  </code></pre>
  
  <p>Views.py</p>
  
  <pre><code>def show_myform(request):
      if request.method == 'POST':
  
          form = MyForm(request.POST)
  
          if form.is_valid():
              subject = "Testsubject"
  
              sender = form.cleaned_data['email']
  
              recipients = ['post@mydomain.com']
  
              body = smart_unicode(form.cleaned_data)
  
              msg = EmailMessage(subject, body, sender, recipients)
              msg.send()            
              return HttpResponseRedirect('/thanks/')
  
  
      else:
          form = MyForm()
  
      return render(request, 'form/myform.html', {
          'form': form,
      })
  </code></pre>