{% load bootstrap %}
{% if user.is_authenticated and open_for_commenting and perms.scipost.can_submit_comments %}
Contribute a Comment: {% if user_is_referee and submission %} you are an invited referee, please submit a Report instead{% endif %}
{% url 'comments:new_comment' object_id=object_id type_of_object=type_of_object as url %}
{% include 'comments/_add_comment_form.html' with form=form url=url %}
{% elif not user.is_authenticated %}