def resource_reject_sent_view(request, id):
    if not request.user.is_staff:
        return HttpResponse(status=401, content="Not Authorized")

    resource = Resource.objects.get(pk=id)

    return render(request, 'orb/resource/status_updated.html', {'resource': resource, })