contact = form.save(request, formsets.values())
if form.result_page:
return redirect('contact_results', contact.id, contact.digest())
else:
return redirect('contact_thanks', form_tag)
else:
contact = form.save(request, formsets.values())
if form.result_page:
return redirect('contact_results', contact.id, contact.digest())
else:
return redirect('contact_thanks', form_tag)
else: