<form method="post" class="ajax-comment-form" 
      action="{% url 'comment_create' %}">
    {% csrf_token %}
    <input type="hidden" name="content_type_id" 
           value="{{ content_type.id }}">
    <input type="hidden" name="object_id" 
           value="{{ object.id }}">
    {{ form.parent }}
    <div class="form-group">
        {{ form.content }}
    </div>
    <button type="submit" class="btn btn-primary">提交评论</button>
</form>