def METHOD_NAME(request, userid):
    """
    Create a new teaching equivalent for an instructor
    """
    instructor = _get_instructor_for_units(request, userid)
    if request.method == 'POST':
        form = TeachingEquivForm(request.POST)
        if form.is_valid():
            equivalent = form.save(commit=False)
            equivalent.credits_numerator = form.cleaned_data['credits_numerator']
            equivalent.credits_denominator = form.cleaned_data['credits_denominator']
            equivalent.instructor = instructor
            equivalent.status = 'CONF'
            equivalent.save()
            messages.add_message(request, messages.SUCCESS, "Teaching Equivalent successfully created")
            return HttpResponseRedirect(reverse('planning.views.view_teaching_credits_admin', kwargs={'userid': userid}))
    else:
        form = TeachingEquivForm()
    return render(request, 'planning/new_teaching_equiv_admin.html', {'form': form, 'instructor': instructor})